Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. f = codecs.open(newFilePathAndName(path,filename,language),encoding='raw_unicode_escape', mode='w')
  2. ...
  3. f.write(outputString)
  4.  
  5. >>> print u'u00e9'.encode('unicode_escape')
  6. xe9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement