Skip to content Skip to sidebar Skip to footer

Qpython Unicode Strings

I'm trying to port a Python 3.5 project from PC to Android QPython3 but for the line:- if ch = in u'\x00\xe0': ch = getwch() I'm getting this when I run it:- if ch = in u'\x00

Solution 1:

To answer my own question, after much fiddling about I got it to work using:-

if ch in bytes([0x00, 0xe0]):

instead.

Post a Comment for "Qpython Unicode Strings"