I have the following code in Python 3, which is meant to print out each line in a csv file.
import csv with open(\'my_file.csv\', \'r\', newline=\'\') as csv
I also faced the issue with python 3 and my issue got resolved using the encoding type as utf-16
with open('data.csv', newline='',encoding='utf-16') as csvfile: