produce the same output as Unix's date command

Jabba Laci jabba.laci at gmail.com
Thu Apr 5 16:52:27 EDT 2012


Hi,

Unix's date command produces this output (example):

Thu Apr  5 22:49:42 CEST 2012

I would like to produce the same output with Python, without calling
"date" externally. Before doing it I'd like to ask the list if anyone
has an existing solution for this.

Thanks,

Laszlo



More information about the Python-list mailing list