NordVPN-Checker icon indicating copy to clipboard operation
NordVPN-Checker copied to clipboard

SyntaxError: invalid syntax

Open Bavaria1664 opened this issue 3 years ago • 0 comments

Hi,

Congrats for yr work mate . I would like to know how to solve this error: File "main.py", line 89 {Style.RESET_ALL}''') ^ SyntaxError: invalid syntax

This error appeared after adding # -- coding: utf-8 -- to the top of yr code.

I did it because at the beginning when i launched yr script i had this message:

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

Ps: I use python 3.9 and dl all requirements.

Thanks for yr help mate

Bavaria1664 avatar Apr 08 '21 03:04 Bavaria1664