Heard about this from Tarek, and you can find more of them on Planet Python (where I found Tarek’s post). What’s the coolest Python application, framework or library you have discovered in 2009? Probably Tornado. Tornado is an interesting application, because it blurs the line a bit between a framework like Django and a traditional…
Month: December 2009
CodeKata 4: Data Munging
I’m continuing to take on the items in Dave Thomas’s Code Kata collection. It’s a nice way to spend a Sunday night, and it’s a good way to get my brain going again before work on Monday morning. It’s also fun and educational 🙂 CodeKata 4 is called “Data Munging”. It’s not very difficult data…
PyYaml with Aliases and Anchors
I didn’t know this little tidbit until yesterday and want to get it posted so I can refer to it later. I have this YAML config file that’s kinda long and has a lot of duplication in it. This isn’t what I’m working on, but let’s just say that you have a bunch of backup…
Python Code Kata 2: Karate Chop (Binary Search)
I’ve decided it’d be fun to go through the Code Kata put together by Dave Thomas, co-author of The Pragmatic Programmer, and co-founder of Pragmatic Programmers, LLC (publishers of the finest tech books on the market right now; they can’t expand their selection fast enough for me). Anyway, the first Code Kata, while being truly…
Python, PostgreSQL, and psycopg2’s Dusty Corners
Last time I wrote code with psycopg2 was around 2006, but I was reacquainted with it over the past couple of weeks, and I wanted to make some notes on a couple of features that are not well documented, imho. Portions of this post have been snipped from mailing list threads I was involved in….