
28 Jan
2001
28 Jan
'01
4:46 p.m.
With all of this CSV parsing discussion, I received a couple of requests for enhancements to my fast CSV module. The enhancements are:
- Parser object now has the field_sep attribute. This is the character which is used to delimit fields in records.
I found (and reported) a bug in the Python PyMember_Set() function while adding this feature.
- Parser object now has the join() method which combines the elements in a sequence and returns a CSV record in a string.
The new module can be downloaded from:
http://www.object-craft.com.au/projects/csv/
As pointed out on the page, the module runs only slightly slower than string.split().
- Dave
8281
Age (days ago)
8281
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dave Cole