Wing IDE is not printing with the runtime


262
views
-1
4 months ago by

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

written 4 months ago by Abhishek Gupta  

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.

written 4 months ago by Wingware Support  

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.

written 4 months ago by Abhishek Gupta  

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.

written 4 months ago by Wingware Support  
Please log in to add an answer/comment or follow this question.

Similar posts:
Search »