Posts Tagged ‘ politics ’

Python interpreter tricks | Seek Nuance

December 28, 2010
By

def __init__(self): for m in get_models(): setattr(self, m.__name__, m) A = DjangoModels() C = Client(). See his post for more interesting Python tips . Me, I'm enabling autocomplete and automatic pretty-printing right now. ...

Read more »

Favorite Django Tips & Features?

October 24, 2010
By

I am curious to hear about your favorite Django tips or lesser known but useful features you know of. Please, include only one tip per answer. Add Django version requirements if there are any. Read The Complete Story.

Read more »

Python: Tips and Tricks « Terminally Incoherent

June 14, 2010
By

Python: Tips and Tricks. As you may have noticed, I have been messing around with python quite a bit lately. I remember trying it out back in college and using it on few small projects and then abandoning it for a while. ...

Read more »

World News 24/365 / [Python] Tips for making a fraction calculator …

June 6, 2010
By

Tips for making a fraction calculator code more optimized (faster and using less memory). Hello Everyone,. Basicly, what I need for the program to do is to act a as simple fraction calculator (for addition, subtraction, ...

Read more »

Pure Speculation: Python namespacing is the hardest thing for me …

August 22, 2006
By

Python error handling returns an exception object from legitimate code that I can't reference unless I import an additional package, and it is not clear at all which package I should be importing. It took me a few minutes of looking at ...

Read more »