News for hackers. Stuff that matters.
Re:Enough of These Python Practices by orf on Sunday February 06, 2022 @06:37PM (#30238257)
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.

There are no comments on this comment yet.