First time here? Check out the FAQ!

Revision history  [back]

The program does work for me outside of Wing and I see that it's not working in Wing in either Python Shell or when debugged. The reason for this is apparently that sending EOF doesn't seem to be working. We'll look into what is causing that.

A work-around is to go into the Options menu in the Debug I/O tool and select Configure External Console. Then check on Use External Console. You'll get a separate console window when you debug and pressing Ctrl-D there to send EOF does work and it prints the output and exits.

Thanks for reporting this and sorry for the slow response. We just moved the Q&A forum to another provider and I think we didn't get notice of your question because it hasn't been fully configured yet.