Wing IDE is not printing with the runtime

Hi,

Everthing works very good in Wing IDE, but I have been facing just one issue in IDE. When I run a script in python shell, the IDE prints everything only when the script is complete and I am not able to check anything during when the program is running. While this works fine in Debug mode, but it is really irritating to not see the status of program during the execution. Could you please let me know how can I correct that.

Thanks

Abhishek Gupta's avatar
3
Abhishek Gupta
asked 2017-05-13 09:07:00 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2019-03-13 10:17:18 -0600
edit flag offensive 0 remove flag close merge delete

Comments

What version of Wing do you have and on what OS?  Also, is the output without newlines, or are there newlines being printed?  Putting in sys.stdout.flush() may help work around this.

Wingware Support's avatar Wingware Support (2017-05-13 22:43:00 -0600) edit

I am using Wing version 4.1.10-1 (rev 27942) on Windows 8.1. The newlines are being printed with the output but everything is printed at once only after the program gets completed even after placing the flush() statement.

Abhishek Gupta's avatar Abhishek Gupta (2017-05-14 03:13:00 -0600) edit

That's a very old version of Wing.  We've made many improvements to how I/O is handled since then.  The latest version is 6.0.5 and I suspect it'll work for you, but please let me know if not.

Wingware Support's avatar Wingware Support (2017-05-15 08:38:00 -0600) edit
add a comment see more comments