+ 2
Is it possible to take input without clicking on ENTER key in python?
11 odpowiedzi
+ 6
Yes, you will have to set a timeout in order to do so.
+ 5
Jan Markus you don't actually need OOP for this, it can be done using simple functions.
+ 5
Kode Krasher I am not sure, some things don't work well on SL. I tried the script on my computer an it worked fine though, I'll share the script.
+ 5
This is the one:
https://stackoverflow.com/questions/1335507/keyboard-input-with-timeout
It's python2, just add parenthesis to print()
+ 5
Kode Krasher that's why I never post codes on SoloLearn ;)
+ 3
“input without entering”
Does that mean that you just declare a variable with a string?
+ 2
Jan Markus, can you please send me the code?
+ 1
I know I'm late, but here https://pypi.org/project/getkey/