You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be worth mentioning that glob.glob and pathlib.Path.glob work slightly differently. glob.globtreats dotfiles specially, while pathlib.Path.glob uses **only to match directories, not files. It's easy to use pathlib.Path.glob without reading the docs closely enough to realize the differences from glob.glob and bash globstar behavior, and thus construct a pattern that doesn't match what you want.
The text was updated successfully, but these errors were encountered:
It might be worth mentioning that
glob.glob
andpathlib.Path.glob
work slightly differently.glob.glob
treats dotfiles specially, whilepathlib.Path.glob
uses**
only to match directories, not files. It's easy to usepathlib.Path.glob
without reading the docs closely enough to realize the differences fromglob.glob
and bash globstar behavior, and thus construct a pattern that doesn't match what you want.The text was updated successfully, but these errors were encountered: