Skip to content

Instantly share code, notes, and snippets.

@anex
Created December 15, 2015 22:47
Show Gist options
  • Save anex/11e6c55da6efdd945bf1 to your computer and use it in GitHub Desktop.
Save anex/11e6c55da6efdd945bf1 to your computer and use it in GitHub Desktop.
Python unicode
import sys
reload(sys)
sys.setdefaultencoding('utf8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment