ASV module, CVS modules

ron nixon ron at ire.org
Thu Feb 28 18:25:06 EST 2002


Hello, I'm trying to use either of these two modules ASV by Laurence
Tratt at http://tratt.net/laurie/python/asv/ and CSV by Dave Cole at
http://object-craft.com.au/projects/csv/. I tried both of these and
get this error:

Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import ASV
>>> my_data = ASV.ASV()
>>> my_data.input_from_file("c:\test_data.csv", ASV.CSV(),
has_field_names =1)
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in ?
    my_data.input_from_file("c:\test_data.csv", ASV.CSV(),
has_field_names =1)
  File "C:\PYTHON22\ASV.py", line 222, in input_from_file
    file = open(input_file, "rb")
IOError: invalid argument: rb
>>> 

I get a similar message from CSV module. Anyone use either of these
and can tell me what's wrong?

Ron Nixon



More information about the Python-list mailing list