I\'d like to a convert unix timestamp I have in a string (ex. 1277722499.82) into a more humanized format (hh:mm:ss or similar). Is there an easy way to do this in python for a
>>> import datetime >>> datestring = "1277722499.82" >>> dt = datetime.datetime.fromtimestamp(float(datestring)) >>> print dt 2010-06-28 11:54:59.820000