SimplePrograms challenge

John Machin sjmachin at lexicon.net
Mon Jun 11 19:40:26 EDT 2007


On Jun 12, 9:16 am, Steve Howell <showel... at yahoo.com> wrote:

>
> One more suggestion--maybe it could exercise a little
> more of the CVS module, i.e. have something in the
> data that would trip up the ','.split() approach?

The what approach?? Do you mean blah.split(',') ??

Perhaps like an example I posted a few days ago:

"Jack ""The Ripper"" Jones","""Eltsac Ruo"", 123 Smith St",,Paris TX
12345
(name and 3 address fields)
[for avoidance of doubt caused by line wrapping, repr(last_field) is
'Paris TX 12345', and the 2nd-last is '']




More information about the Python-list mailing list