print line numbers in a Python script:

 import sys frame = sys._getframe() print frame.f_lineno 

Python - date from Unix timestamp


Feb 11, 2013

Happy New Year!

At the end of every year I see people saying something like "Good riddance, Year X, you sucked, let's hope Year Y brings something better." ...

Dec 31, 2012 Personal