According to Python 2 manual
Unicode Literals in Python Source Code
In Python source code, Unicode literals are written as strings
prefixed with the ‘u’ or ‘U’ character: u'abcdefghijk'. Specific code
points can be written using the \u escape sequence, which is followed
by four hex digits giving the code point. The \U escape sequence is
similar, but expects 8 hex digits, not 4.
But in Python 3
The String Type
Since Python 3.0, the language’s str type contains Unicode characters,
meaning any string created using "unicode rocks!", 'unicode rocks!',
or the triple-quoted string syntax is stored as Unicode.
The default encoding for Python source code is UTF-8, so you can
simply include a Unicode character in a string literal:
As far as it concerns the already created variables, either by user input or by reading a file or whatever, you have to read on each method how to manipulate unicodes
python "string encoding declaration"using the "term" in this way, and it's by the guy who made the edit.