Created
August 4, 2016 07:42
-
-
Save xiaotangyuan/124238f03eaa0cfe40d3f9f2c34b1014 to your computer and use it in GitHub Desktop.
windows csv file code error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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