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
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
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
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
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