Skip to content

SyntaxError: invalid syntax #3

Description

@Bavaria1664

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions