Enthought Canopy doesn't print right away when statement occurs

后端 未结 2 1018
我寻月下人不归
我寻月下人不归 2020-12-19 21:48

A while ago I switched from Enthought\'s old EPD to their newer Canopy system. For the most part it\'s nice, but one aspect has been particularly vexing.

Whenever

2条回答
  •  渐次进展
    2020-12-19 22:35

    This looks like buffered output. Try running your script as:

    python -u yourscript
    

    The -u flag turns buffering off.

    (Replace python by your OS's python executable's name.)

提交回复
热议问题