python csv has no attribute 'writerr code example Example: Python CSV Has No Attribute 'Writer if your file name csv.py change to not_csv_but_csv.py