On 3/11/2016 4:14 PM, MRAB wrote:

 >>> import csv
 >>> s = '"Please preserve my doublequotes"\ttext1\ttext2'
 >>> reader = csv.reader([s], delimiter='\t', quotechar=None)
 >>> for row in reader:
...     print(row[0])
...
"Please preserve my doublequotes"
 >>>


This worked! thank you MRAB


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to