New answers tagged


By default Geany runs Python code using Python2. This can be changed under 'Build','Set Build Commands'. Then change Compile from python to python3 and Execute from python to python3. The serial read commands changed between Python2 (returns string) and Python3 (returns bytes), adding a .decode() converts bytes to string. If not sure which version of ...

Top 50 recent answers are included