Answer the question
In order to leave comments, you need to log in
How to deal with cyrillic in python?
Once I learned python a little, then I moved away from it, now I needed to write several scripts in that language, but I ran into a problem:
SyntaxError: Non-ASCII character '\xd1' in file ...
# -*- coding: utf-8 -*-
#coding: utf8
Answer the question
In order to leave comments, you need to log in
You have a SyntaxError, I suspect that you dared to use Cyrillic in the variable/function name. You can't do that.
PS It is considered good manners to publish a full stack trace.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question