Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The \u escape is not meaningful inside a non-unicode string. You need to do a = u'\u0D05'.
\u
a = u'\u0D05'
If you're saying you're getting the string from somewhere else and need to interpret unicode escapes in it, then do print a.decode('unicode-escape')
print a.decode('unicode-escape')