A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/arogozhnikov/python3_with_pleasure/issues/16 below:

Globbing with glob vs. pathlib · Issue #16 · arogozhnikov/python3_with_pleasure · GitHub

It might be worth mentioning that glob.glob and pathlib.Path.glob work slightly differently. glob.glob treats 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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4