time.time()

Josiah Carlson jcarlson at nospam.uci.edu
Sat Jan 24 16:42:13 EST 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