Box has surpassed my expectations in popularity, even appearing in the Python Weekly newsletter and on Python Bytes podcast. I am very grateful for everyone that uses it and hope that you find it to be another great tool in your Python tool-belt! Also a huge shot...
Continue reading...Coding
Python Decorators
Often times in python there comes a need to have multiple functions act in a similar manner. It could be anything from making sure that similar functions output the right type of result, they all log when they are called or all report exceptions in the...
Continue reading...Creating a successful project – Part 3: Development Tools/Equipment
Every single year that I’ve been doing this, I hear about the next “totally awesome” way to write code. And more often than not, the new thing is certainly very shiny. When it comes to projects, with the exception of coding standards (which will be part...
Continue reading...Introducing Box – Python dictionaries with recursive dot notation access
Everyone loves Python’s dictionaries; they’re fast, easy to create and quite handy for a range of reasons. However, there are times that [“typing”][“out”][“all”][“those”] extra quotes and brackets seems excessive. Wouldn’t it be nicer to access.them.like.class.methods? Say hello to box. from box import Box movie_data = { “movies”:...
Continue reading...Run, Subprocess, Run!
Python is awesome, and can pretty much do everything you ever wanted, but on rare occasion, you may want to call an external program. The original way to do this with Python was to use os.system. The message “May the force be with you” would be printed...
Continue reading...