On May 8, 9:36 am, Jerry Hill <malaclyp...@gmail.com> wrote: > On Fri, May 8, 2009 at 11:29 AM, walterbyrd <walterb...@iname.com> wrote: > > I accidently named a script csv.py, put I deleted that. > > You probably still have a stale csv.pyc in that directory. Delete that too. >
I don't, I am very certain of that. I have also used find to make certain there are no other stray versions of csv.py. > To tell for sure, open the python interpreter and do: > import csv > print csv.__file__ > > That will tell you exactly where the csv module is being loaded from. Problem is, python will not load the csv module, since it detects an error. And since I can not load the module, csv.__file__ will not work. This file will work: ----------------- #!/usr/bin/env python # import csv print "hello" ------------------ This file will not work: ----------------- #!/usr/bin/env python import csv print "hello" ------------------ In later case, I get that error about 'module' object has no attribute 'reader' -- http://mail.python.org/mailman/listinfo/python-list