Terry Reedy於 2019年8月23日星期五 UTC+8下午7時27分50秒寫道: > On 8/23/2019 3:42 AM, 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. > > > After a quick try on IPython 6.5.0, I saw only the commands I had typed, > > not include the output of those commands:-( > > IDLE saves exactly what you see in the window, including with a shell > session. One can also select and paste into a new editor window and > then save. > > > > -- > Terry Jan Reedy
IDLE is the closest one to the command console I currently use. The mouse used in its shell really helps on my requirement:-) Thank you for reminding. --Jach -- https://mail.python.org/mailman/listinfo/python-list