Wingware Python IDE

The Intelligent Development Environment for Python Programmers

Before continuing any further in the debugger, bring up the Debug I/O
tool so you can watch the subsequent output from the program. This is also
where keyboard input takes place in debug code that requests for it.

Once you step over the line PrintAsText(news) you should see output
appear as follows:

For code that tries to read from stdin or uses input (or in Python
2.x raw_input), the DebugI/O tool is where you would type your input
to your program. Try this now by stepping over the PromptToContinue call.
You will see the prompt "Press Enter to Continue" appear in the DebugI/O
tool and the debugger will not complete the StepOver operation until you
press Enter while focus is in the DebugI/O tool.

Note that you can also configure Wing to use an external console from the
Options menu in the DebugI/O tool. This is useful for code that depends
on details of the DebugI/O environment (such as cursor control with special
output characters).