robert wrote: > What is a most simple expression for splitting a CSV line with "-protected > fields? > > s='"123","a,b,\"c\"",5.640'
Use the csv-module. It should have a dialect for this, albeit I'm not 100% sure if the escaping of the " is done properly from csv POV. Might be that it requires excel-standard. Diez -- http://mail.python.org/mailman/listinfo/python-list