reading a csv file using python,f.close()