There is a csv module in python :) You can use it like:
import csv reader = csv.reader(open(‘details.csv’, ‘r’)) for row in reader: print row