[open] to_chr problem with new version
Hi all,
The following code
if my_keyboard.to_chr(key) == "backspace":
resp = resp[:-1]
was working well but with OS new version, I get this message:
AttributeError: 'psycho' object has no attribute 'to_char'
Would you have any idea of the solution?
Best regards,
Comments
Hi Boris,
Way, way, back,
keyboard.to_chr()was necessary to convert keyboard codes to characters. For a long time, the function was still there but didn't do anything. And now it's removed.This will do the trick though:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!