ASV module, CVS modules
Skip Montanaro
skip at pobox.com
Thu Feb 28 22:21:51 EST 2002
ron> file = open(input_file, "rb")
ron> IOError: invalid argument: rb
ron> I get a similar message from CSV module. Anyone use either of these
ron> and can tell me what's wrong?
Sounds to me like your builtin open function is hosed somehow. Opening
files using "rb" works for me:
>>> f = open("cities.csv", "rb")
>>>
--
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)
More information about the Python-list
mailing list