I've found the datetime module to be very useful. Using datetime, you can use its strftime method to format the print method of datetime objects to your hearts content. Or, use it with matplotlib, and more. There's also the mxDatetime modules (though not part of the standard distribution).
A da
Alex Mandel wrote:
> So I was looking at an old post where someone used
>
> Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] on
> Pocket PC
> >>> >>> import time
> >>> >>> clock=time.clock()
> >>> >>> local=time.localtime(clock)
> >>> >>> local
> (2004, 2, 27, 10, 14, 41,
So I was looking at an old post where someone used
Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] on
Pocket PC
>>> >>> import time
>>> >>> clock=time.clock()
>>> >>> local=time.localtime(clock)
>>> >>> local
(2004, 2, 27, 10, 14, 41, 4, -1, -1)
When I tried to repeat t