Using with CSV library in Python 2.2!!!
skip at pobox.com
skip at pobox.com
Tue Jan 9 08:59:32 EST 2007
mohan> 1. Does Python 2.2 come with CSV library module or not? If yes,
mohan> have I lost it somewhere??
As the docs for the csv module indicate, it was new in 2.3.
mohan> 2. If Python 2.2 does not come with CSV module, is it possible to
mohan> add the csv module to the Python root and start working??
You might find that it will work with 2.2, though you might have to make
some source code changes to _csv.c to get it to compile.
mohan> 3. If yes, where do I get this module from??
You can get both csv.py and _csv.c via ViewCVS:
http://svn.python.org/view/*checkout*/python/tags/r236/Modules/_csv.c?content-type=text%2Fplain&rev=52574
http://svn.python.org/view/*checkout*/python/tags/r236/Lib/csv.py?content-type=text%2Fplain&rev=52574
Skip
More information about the Python-list
mailing list