Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # unicode_basic_workarounds.py
- a="Please wait\u2026"
- print a
- print unicode(a), '???' ### <<< Careful!
- print
- print repr(a)
- print repr(a.decode('unicode-escape'))
- print a.decode('unicode-escape')
- print 'Done! Thanks for being very patient'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement