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...Creating a successful project – Part 2: Project Organization
Ok, so you’ve familiarized yourself with the rules. Good. This isn’t Fight Club, but they are important rules. You want to be a professional in all the projects on which you want to participate. If properly managed, your GitHub account should be a functional part of...
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...Creating a successful project – Part 1: The Rules
So, you want to create a project. That’s great! Welcome to the party. I’d like to pass along some general knowledge about how best to approach creating/running a project. Also, I’m not going to say that I know everything there is to know about running a...
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...