my code:
f = open("log.txt", "a")
key = chr(event.Ascii)
f.write(key)
f.closed
If I print the key out. I get a nice readable form like "a" "b" "c" and so on. But i if look into the file python has saved it as ascii - like that: 0013 0200 4461
I tried to convert it but i just get errors. Anybody knows whats wrong here?