Skip to content

Instantly share code, notes, and snippets.

@muzizongheng
Created June 27, 2013 01:07
Show Gist options
  • Save muzizongheng/5873200 to your computer and use it in GitHub Desktop.
Save muzizongheng/5873200 to your computer and use it in GitHub Desktop.
open file by utf-8
f = open(n.title+".html", "w+", encoding='utf-8-sig')
f.write(content)
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment