command line reports
Peter Hansen
peter at engcorp.com
Thu Aug 11 14:57:58 EDT 2005
Darren Dale wrote:
> Is there a module somewhere that intelligently deals with reports to the
> command line? I would like to report the progress of some pretty lengthy
> simulations, and currently I have the new reports written on a new line
> rather rather than overwriting the previous report.
You mean you want sys.stdout.write(report + '\r') instead of "print
report" ?
It's not really clear what you want. What's a "report" to you?
-Peter
More information about the Python-list
mailing list