Articles → Python → Read CSV File In PythonRead CSV File In PythonIn this article, we will read CSV files in Python.CSV File For this article, we will use this CSV file.sCode import csv with open(r"c:\temp\Book1.csv", 'rt') as f: data = csv.reader(f) #skipping header next(data) for row in data: print(row[0])Output Posted By - Karan Gupta Posted On - Thursday, May 30, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import csv with open(r"c:\temp\Book1.csv", 'rt') as f: data = csv.reader(f) #skipping header next(data) for row in data: print(row[0])
Query/Feedback