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
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.
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.
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.