[Q] HowTo extract the system time within python
Aahz Maruch
aahz at netcom.com
Mon Jan 17 16:37:29 EST 2000
In article <85vv88$m18$2 at bw107zhb.bluewin.ch>,
Markus Meng <meng.engineering at bluewin.ch> wrote:
>
>I need to know the System Time on a DOS-Only system using the python
>interpreter for a script. What is needed to get the time/date from DOS
>into python?
import time
print time.ctime(time.time())
--
--- Aahz (@netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
Have a *HAPPY* day!!!!!!!!!!
More information about the Python-list
mailing list