[Tutor] how to use the time module?

Lin Jin jinlin555 at msn.com
Fri Nov 5 07:38:45 CET 2004


i am new to python.i want to know that,if i have a variable a,and i want to 
use the time module,the strftime method to output the weekday,how could i 
do that? i know that i should use the the "%A",but if i write a code like 
this:
>>>time.strftime("%A",a).
it is not working.anyone can help me solve this one?

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn/  



More information about the Tutor mailing list