AttributeError: module 'csv' has no attribute 'DictWriter'

后端 未结 0 336
执笔经年
执笔经年 2021-01-19 16:15

I keep getting an attribute error from the following code.

import csv
myFile = open(\'countries.csv\', \'w\')
with myFile:    
    myFields = [\'country\', \'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题