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.com2 Want files in a directory that match a pattern? Use #Python's glob and get stri…
@lernerpython.com3 It's not perfect, but most of the time you don't need to know which kind of pat…
@lernerpython.com4 Want the files in a directory? You could use #Python's os.listdir, but it retur…
@lernerpython.com5 Using Pathlib in #Python means both files and directories are PosixPath objects…
@lernerpython.com6 Want to work with files and directories in #Python? pathlib gives a single inte…
@lernerpython.com7 Let's sort yesterday's #Python histogram by date! Counter is a dict, and the ke…
@lernerpython.com8 Combine #Python holidays, Counter, datetime, and comprehensions for a histogram…
@lernerpython.com9 What was the earliest Thanksgiving in the last 100 years? The latest? #Python c…
@lernerpython.com# MoreBluesky home