Debugging on windows via print statements -- reliable?

Nick Arnett narnett at
Mon Mar 25 15:40:01 CET 2002

> -----Original Message-----
> From: python-list-admin at
> [mailto:python-list-admin at]On Behalf Of John Roth


> Since you're running a console app, I'd suggest two
> changes to your test setup.
> 1) Execute the program from the DOS prompt, not from
> PythonWin.
> 2) Redirect stdout to a file.
> The first suggestion is simply to eliminate one possible
> variable - if switching to a raw command prompt changes
> something, you've got more data, if it doesn't, you've
> eliminated a possible candidate.

Already tried both...  In fact, that's how I've usually been testing.

But thanks.


More information about the Python-list mailing list