Options for stdin and stdout when using pdb debugger

dieter dieter at handshake.de
Fri Nov 25 02:21:40 EST 2016


Robert Snoeberger <robert.snoeberger at gmail.com> writes:

> I would like to use pdb in an application where it isn't possible to use sys.stdin for input. I've read in the documentation for pdb.Pdb that a file object can be used instead of sys.stdin. Unfortunately, I'm not clear about my options for the file object. 

Likely, it must be something with a "readline" method. This would mean
that the restrictions are very weak.




More information about the Python-list mailing list