Hi,  I'm now writing a simulation program in Python.  Indeed, it's a 
time-wasting program, a complete simulation will last several days.  
Of course, the simulation result is easily stored in files, through file class 
of Python.

Now, my partners require the simulation result to be printed on screen and to 
be stored in file as well, therefore they can monitor the result in time.
I hope these two output method should be used in the mean time ------ not a 
'print' + a 'file.write'. :)

So what's the single method to hold this requirement?  Wish it's quite basic.  
By the way, the platform is FreeBSD.
         Juan Shen

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

Reply via email to