Skip to content

Tag: windows

Clear input buffer before input() on Windows?

I’m creating a game in which you have to guess the result of an operation in a certain time; to do this i created a thread to have a timed input and then I close the thread after the time is up. Issue My problem is that when the user doesn’t enter any number, before the time is up, in

Pip is selecting wrong path

I’m using windows 10 and I got rid of python 3.8 and installed 3.7 as the only python version on my system. When trying to install libraries using pip I now get the error: when I checked in the console which -a pip I got: Now when I look for Python in my variable path […]