Input() suddendly needs more than 1 Enter press to resume execution

0

This is the first time i faced this problem. It's pretty hard to pinpoint where is the cause since i'm using a lot of libraries in my project.. By the way, this is what it looks like:

# a LOT of stuff
f = Foo()
print('f initialized')
input('Waiting for user input to resume) 
print('Resumed!') # This is not printed until i press Enter 2 times, instead of 1.

Has anyone ever encountered anything like this?

I've also tried setting up a different Venv with no luck.

BTW i'm running python3.7 in Windows

lugiank

Posted 2019-05-09T09:46:26.957

Reputation: 1

Just as a comment, the included code works with a single Enter for me on Windows 7 with Python 3.7. – Anaksunaman – 2019-06-11T09:39:34.883

No answers