I have a script that writes it's output to a file. I also print the time with

print "Time was %.4g seconds" % (timeEnd - timeStart)

How could I also have the same output of the print expression, written to 
the file?

Thanks,

Dick Moores

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to