« * K @lernerpython.com

Reuven M. Lerner @lernerpython.com

Helping you become more confident with Python and Pandas since 1995: Books, videos, newsletters, corporate training, conference talks, and dad jokes.

3598 followers, 600 following, 1004 posts

1 #Python pathlib's "glob" returns files (path objects) matching a pattern in a d…
@lernerpython.com
2 Want files in a directory that match a pattern? Use #Python's glob and get stri…
@lernerpython.com
3 It's not perfect, but most of the time you don't need to know which kind of pat…
@lernerpython.com
4 Want the files in a directory? You could use #Python's os.listdir, but it retur…
@lernerpython.com
5 Using Pathlib in #Python means both files and directories are PosixPath objects…
@lernerpython.com
6 Want to work with files and directories in #Python? pathlib gives a single inte…
@lernerpython.com
7 Let's sort yesterday's #Python histogram by date! Counter is a dict, and the ke…
@lernerpython.com
8 Combine #Python holidays, Counter, datetime, and comprehensions for a histogram…
@lernerpython.com
9 What was the earliest Thanksgiving in the last 100 years? The latest? #Python c…
@lernerpython.com
# MoreBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup