Why does this not run?  It is right out of the CSV file in the Standard Lib.


 

Python ver 3.4.4, 64 bit.

 

 

 

import csv
""" READ EXCEL FILE """
filename = 'c:\users\user\my documents\Braxton\Excel\personal\bp.csv'
with open (filename, newline = ' ') as bp:
    dialect = csv.excel
    reader = csv.reader(bp)
    for row in reader:
        print (row)

 

 

Marc

 

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to