0
import os
import csv

ifile = open("C:/Python26/testdata.csv", "r")

here is the error i get:

Traceback (most recent call last):
File "C:/Python26/06_June_2009/testhenry.py", line 4, in <module>
ifile = open("C:/Python26/testdata.csv", "r")
IOError: [Errno 2] No such file or directory: 'C:/Python26/testdata.csv'

I have no clue what to do. I can't read my file. Can someone please help me out?

1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by rasizzle
0

my .csv file was incorrect. fixed it and it worked just fine.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.