[Tutor] I need advice.

Nathan Pinno falcon3166 at hotmail.com
Tue Aug 2 20:51:41 CEST 2005


I am now using Python 2.4.1, but decided to abandon it. It got too confusing 
too fast. I'm better off writing simple games and apps for now.
----- Original Message ----- 
From: "Nathan Pinno" <falcon3166 at hotmail.com>
To: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
Cc: "Tutor mailing list" <tutor at python.org>
Sent: Tuesday, August 02, 2005 12:02 AM
Subject: Re: [Tutor] I need advice.


>I forgot to tell that I use Python 2.2.3. When I first got Python, I got
> 2.4.1, but it refused to run the second time. So I went and got 2.2.3. 
> Your
> answer would make sense if I had 2.4.1, but I don't.
> ----- Original Message ----- 
> From: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
> To: "Nathan Pinno" <falcon3166 at hotmail.com>
> Cc: "Tutor mailing list" <tutor at python.org>
> Sent: Monday, August 01, 2005 11:41 PM
> Subject: Re: [Tutor] I need advice.
>
>
>>
>>
>> On Mon, 1 Aug 2005, Nathan Pinno wrote:
>>
>>> I want to write a program that will convert time in any other time zone
>>> to my time zone. Would it be better to use the Python time molecule or
>>> just a whole bunch of if statements?
>>
>> Hi Nathan,
>>
>> I'd recommend looking at the 'datetime' Python module.  Getting this 
>> stuff
>> right is hard, so unless you really want to learn how time conversions
>> work, take advantage of the library.  There's something there that does 
>> do
>> time zones:
>>
>>    http://www.python.org/doc/lib/datetime-tzinfo.html
>>    http://www.python.org/doc/lib/tzinfo-examples.txt
>>
>> Good luck!
>>
>>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 


More information about the Tutor mailing list