I want to do something like this
while True:
fuction()
function_that_checks_if_q_is_pressed()
if function_that_checks_if_q_is_pressed==True:
break
break
Quick notes:
I'm using ios mojave.
i'm using python 3.9.
The "keyboard" python library isn't working for me.
I am using the pynput library but I would also be happy to use a different library if it works.
Thank you so much!