Is there any way to automatically create a transcript of an interactive Python session?

skip at pobox.com skip at pobox.com
Sun Feb 25 06:22:42 EST 2007


    Jonathan> Some languages, such as Scheme, permit you to make a
    Jonathan> transcript of an interactive console session. Is there a way
    Jonathan> to do that in Python?

If you decide not to use IPython for some reason, you should be able to
easily whip something up based on the command history features of the
readline module or one of the interpreter classes in the code module.

Skip


    



More information about the Python-list mailing list