I am working with the module ocr from Python and some image return this string
a == '921,\u201d'
The easiest way is to use a raw string literal.
a == r'921,\u201d'
This allows you to use literal backslashes without having to escape them (the only restriction is that a string still can't end with an unescaped backslash).
You can also escape the backslash by prepending a backslash to it:
a == '921,\\u201d'