Is Python more suited for EAFP or LBYL coding styles? It has been debated across message boards, email chains, stackoverflow, twitter and workplaces. It’s not as heated as some other battles; like how spaces are better than tabs, or that nano is indisputably the best terminal...
Continue reading...coding
First steps into GUI design with Kivy
Boring Background I have always had in interest in making a local photo organization tool, that supports albums and tagging the way I want to do it. Maybe down the line allowing others to connect and use it too. So I started on one a few...
Continue reading...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 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...