Re: Module on Getting the Date & Time

2005-05-12 Thread Edvard Majakari
Sara Khalatbari <[EMAIL PROTECTED]> writes: Hi, > Is there a Modules in Python that returns the time & > date of today when ran? You mean a method in a module? Yes, there's good 'ol time module, which will probably provide what you need: >>> import time >>> time.time() # number of seconds

Re: Re: Module on Getting the Date & Time

2005-05-10 Thread Whoami
Simon Brunning,您好! >>> import time >>> current = time.time() >>> time.localtime(current) (2005, 5, 10, 19, 28, 14, 1, 130, 0) >>> time.ctime(current) 'Tue May 10 19:28:14 2005' === 2005-05-10 19:09:42 您在来信中写道:=== >On 5/10/05, Sara Khalatbari <[EMAIL PROTECTED]> wrote: >> Is there a Modu

Re: Module on Getting the Date & Time

2005-05-10 Thread Whoami
Simon Brunning,您好! >>> import time >>> current = time.time() >>> time.localtime(current) (2005, 5, 10, 19, 28, 14, 1, 130, 0) >>> time.ctime(current) 'Tue May 10 19:28:14 2005' === 2005-05-10 19:09:42 您在来信中写道:=== >On 5/10/05, Sara Khalatbari <[EMAIL PROTECTED]> wrote: >> Is there a Modu

Re: Module on Getting the Date & Time

2005-05-10 Thread Simon Brunning
On 5/10/05, Sara Khalatbari <[EMAIL PROTECTED]> wrote: > Is there a Modules in Python that returns the time & > date of today when ran? http://www.google.com/search?q=python+time+date -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mail

Module on Getting the Date & Time

2005-05-10 Thread Sara Khalatbari
Is there a Modules in Python that returns the time & date of today when ran? __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -- http://mail.python.org/mailman/listinfo/pytho