News

Working with files in Python is pretty easy. But there’s a common mistake that can sneak into your code. Not closing the file ...
I've been in several situations now where I want to iterate over an object's attributes (or some subset thereof). The only way I've figured out how to do this is just check each one manually and ...