"Sara Khalatbari" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> Is there a program in python that inputs a date & a
> time, for example: "2005-04-17 04:20+". And
> returns a digit, for example: "3501" instead?
>
> and if there is such program or built-in function, how
try time.strptime() , and then time.time() - see documentation
(http://docs.python.org/lib/module-time.html)
--
http://mail.python.org/mailman/listinfo/python-list
Is there a program in python that inputs a date & a
time, for example: 2005-04-17 04:20+. And
returns a digit, for example: 3501 instead?
and if there is such program or built-in function, how
can I run it inside a code?
__
Do You Yahoo!?