Ask Your Question

Revision history [back]

I think she's using Wing Personal or Wing Pro, while in class they were using Wing 101.  In the latter, the green play button runs the code in the Python Shell.  In the others, it starts the debugger which in the absence of a breakpoint or exception will just run to completion.To get the same thing she was seeing in class in Wing Personal or Pro, she can use Evaluate File in Python Shell in the Source menu.  To bind a key to that, use the User Interface > Keyboard > Custom Key Bindings preference and the command evaluate-file-in-shell.Also, in Wing Pro you can set a breakpoint on the last line and run to that with the debugger and then interact with the module's contents in the Debug Probe.  But it may be best to keep things simple!

click to hide/show revision 2
No.2 Revision

I think she's using Wing Personal or Wing Pro, while in class they were using Wing 101.  In the latter, the green play button runs the code in the Python Shell.  In the others, it starts the debugger which in the absence of a breakpoint or exception will just run to completion.To completion.

To get the same thing she was seeing in class in Wing Personal or Pro, she can use Evaluate File in Python Shell in the Source menu.  To bind a key to that, use the User Interface > Keyboard > Custom Key Bindings preference and the command evaluate-file-in-shell.Also, evaluate-file-in-shell.

Also, in Wing Pro you can set a breakpoint on the last line and run to that with the debugger and then interact with the module's contents in the Debug Probe.  But it may be best to keep things simple!