Lots of busy work today. As the quarter is coming to end, I'm trying to wrap up everything at work. Only worked for 10 minutes or so before getting interrupted and going down another rabbit hole.
But, since you're here: do you know that you can use vars
instead of calling the __dict__
method on an instance/class to get a dictionary of all the attributes? Very nifty.
Top comments (0)