web status display for long running program

John Lenton john at except.com.ar
Thu Feb 24 21:53:30 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Roberts wrote:
| I have a command line Python program that sometimes takes a bit
| (several minutes) to run.  I want to provide an optional method for an
| impatient user (me!) to check the status of the program.  The type and
| amount of status information doesn't fit nicely into a --verbose or
| logger -- either too little or too much information at different
| points.

dd and pppd (and probably others) solve this problem by registering
a signal handler that either toggles debug or prints status
information to stderr.

- --
John Lenton (john at except.com.ar) -- Random fortune:
Work consists of whatever a body is obliged to do.
Play consists of whatever a body is not obliged to do.
		-- Mark Twain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCHpMZcxEeCh6qRm8RAg11AKCek0hV6QCHw6fm3TM3KAJIXPb1RQCg4qhy
HMr5y+w7fxESkJ2vQ0GEmm0=
=c4bs
-----END PGP SIGNATURE-----



More information about the Python-list mailing list