Wrote the following code
conAcc = pyodbc.connect('DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=D:\ThirdTask\Northwind.accdb') SqlAccess=conAcc.cursor(); SqlAccess.execute(sql.sql_count_record_clients); CountOfRecords=SqlAccess.fetchone(); conAcc.close();
where in the sql.py module there is a line
sql_count_records_clients='''SELECT COUNT(*) FROM "Π‘ΠΏΠΈΡΠΎΠΊ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ²"'''
As a result, this line in sql.py gives an error
Traceback (most recent call last): File "D:\ThirdTask\connect.py", line 5, in <module> import json,sqlite3,sql File "D:\ThirdTask\sql.py", line 48 SyntaxError: Non-ASCII character '\xd1' in file D:\ThirdTask\sql.py on line 48, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
What needs to be done to make the error disappear?