Skip to content Skip to sidebar Skip to footer

Pyinstaller Flush Input

I've a python program which works fine within the Pycharm environment. I tried compiling it with Pyinstalle to a onefile executable. It works fine, but I see no output till I selec

Solution 1:

Using

sys.stdout.flush()

Instead of

print("", flush=True)

solved the problem for me.


Post a Comment for "Pyinstaller Flush Input"