Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xiaotangyuan/124238f03eaa0cfe40d3f9f2c34b1014 to your computer and use it in GitHub Desktop.
Save xiaotangyuan/124238f03eaa0cfe40d3f9f2c34b1014 to your computer and use it in GitHub Desktop.
windows csv file code error
import csv
f = codecs.open('dfdf.csv' , 'w', 'utf_8_sig')
writer = csv.writer(f)
writer.writerow(['fdfd'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment