Python - How to import 'unicode_literals' -- __future__

Import unicode_literals

To import unicode_literals, Add the following line to the top of your code.

from __future__ import unicode_literals

 

For more information about unicode_literals:
__future__ unicode_literals