profile
viewpoint

Ask questionsSyntaxError: Non-ASCII character '\xc3'

When I am trying to run the code using python 2.7 It's showing the following error

File "pret.py", line 38 SyntaxError: Non-ASCII character '\xc3' in file pret.py on line 38, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

RUB-NDS/PRET

Answer questions Yaswanth-jami

Run it with python3

when I run it with python3, the device is getting connected but the commands are not working. It's showing
Command execution failed (a bytes-like object is required, not 'str')

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List