Some things

Better living through biologically-inspired optimization

Stupid Python tricks


>>> class A:
...     def meh(self):
...             print "ook!"
... 
>>> getattr(locals()['A'](),"meh")()
ook!
>>>

Thank you, thank you, I'll be here all week. Don't forget to tip your waiter or waitress, God bless.

Add a comment

you're not logged in