interactive-logging

meow meowing at banet.net
Wed Jun 23 09:51:01 EDT 1999


Magnus L Hetland <mlh at idt.ntnu.no> writes:

> Arne Mueller <a.mueller at icrf.icnet.uk> writes:
>> I'd like to add some logging to the interpreter's interactive modus so
>> that everything I type in and everything what's printed to the screen
>> (errors and 'normal' output) is copied to a log-file.

> Hm. Isn't there a UN*X command that does that? (That logs everything
> going on in a terminal...)

'python | tee log.file' would be a simple way to get that kind of
thing.




More information about the Python-list mailing list