robert wrote: > What is a most simple expression for splitting a CSV line > with "-protected fields? > > s='"123","a,b,\"c\"",5.640'
import csv the preferred way is to read the file using that module. if you insist on processing a single line, you can do cols = list(csv.reader([string])) </F> -- http://mail.python.org/mailman/listinfo/python-list