Live data from Hacker News

Enough of These Python Practices

mhaimdat.com

1–8 of 8 posts

Re: Enough of These Python Practices

#5
Some of these are bad. Pathlib is great for a one-liner to read files, and the “.get()” is broken. If it returns None, you’ll get an error about comparing None to an integer.