Split string first data have ",
>>> y = '"abc.p,zip.p",a,b'
>>> print y
RE: Split string first data have ",
> >>> y = '"abc.p,zip.p",a,b'
> >>> print y
>>> x = "what is your question??"
>>> print x
I'm guessing that you want to split on ",", but want the quoted section to be a single token?
Have you looked at the CSV module (http://docs.python.org/3/library/csv.html)?
If my guess is wrong, or you're having difficulties with the csv module, a more specific question will help you get the answer you're looking for.
|All times are GMT. The time now is 02:34 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.