Ask coding questions

← Back to all posts
pypi package that can get keys without stopping the code

Hi everyone! I just wnated to know if there is a way for me to get which key is being placed without stopping the code? right now I have to stop the entire code when It is time for the user to input something but I just want something that can run in the background that will collect the keys being pressed in the background

Answered by LukeWright [earned 5 cycles]
View Answer

nvm ill just use py-term and control the car with the cursor