Category Archives: Python

for … else in Python

Phil Python has an interesting for statement (reference) which lets you specify an else suite. In a construct like this one: for i in foo: if bar(i): break else: baz() the else suite is executed after the for, but only if the for terminates normally (not by a break).

Also posted in link, programming | Comments closed

I only know PHP. How do I write a Web application in Python?

Getting started in web dev with Python by Eevee This is not a tutorial. I may write one in the future, but for now, plenty of them already exist, and I assume you can read documentation. Instead, this is an overview of the current state of affairs for someone new to Python web development. Very [...]

Also posted in link, programming, web development | Tagged | Comments closed

170+ Django conference videos

Juha, has compiled this massive list It’s great that many software conferences nowadays put their videos online, DjangoCon has been especially good on this. Those who can’t attend the real conference for budget or geographical reasons get a chance to experience some great presentations. It’s great for pushing the overall web development level upward.

Also posted in link, programming | Tagged , | Comments closed

Python Learning Journal

I’ve decided to keep a simple journal when going through Learn Python The Hard Way. It’s nothing special and you may get bored, but I’ll keep updating it with the latest information as I keep stepping through. I have gone from the very start. The basics are always the best place to start; I see [...]

Also posted in my life, programming, thoughts | Tagged , | Comments closed