time.time()

Josiah Carlson jcarlson at nospam.uci.edu
Sat Jan 24 22:42:13 CET 2004


> x = time.time()
> fp = os.popen("some_process", "r")
> fp.read()
> fp.close()
> print (time.time()-x/60)/60

Parenthesis are your friend:
print (time.time()-x)/3600

  - Josiah



More information about the Python-list mailing list