On 22Aug2019 21:48, Jach Fong <jf...@ms4.hinet.net> wrote:
Cameron Simpson於 2019年8月23日星期五 UTC+8下午12時09分54秒寫道:
On 22Aug2019 19:38, Jach Fong <jf...@ms4.hinet.net> wrote:
>Say I like to record everything showing in the console into a file
>after I start a debug session, and stop it when finished. It's not
>a console redirection. I still need to see what is going on during
>the session.

If you're in a terminal you can run the 'script" command. This starts a
new shell inside a session which records itself to the file "typescript"
(by default). See "man script" for further details.

Mine is Windows:-( No 'script' command?

Maybe not. Cygwin (UNIX emulator) or the Window Linux facility might provide it.

Otherwise a Windows person will need to advise you; I can't.

Cheers,
Cameron Simpson <c...@cskk.id.au>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to