Re: produce the same output as Unix's date command

2012-04-05 Thread Mark Lawrence
Original Message Subject: Re: produce the same output as Unix's date command Date: Thu, 05 Apr 2012 22:07:42 +0100 From: Mark Lawrence Newsgroups: gmane.comp.python.general References: On 05/04/2012 21:52, Jabba Laci wrote: Hi, Unix's date command produces t

Re: produce the same output as Unix's date command

2012-04-05 Thread Chris Rebert
On Thu, Apr 5, 2012 at 1:52 PM, Jabba Laci wrote: > 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 a

produce the same output as Unix's date command

2012-04-05 Thread Jabba Laci
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 -- http://mail.pyt