<p dir="ltr">On Jan 29, 2013 9:05 AM, "moonhkt" <<a href="mailto:moonhkt@gmail.com">moonhkt@gmail.com</a>> wrote:<br>
><br>
> Hi All<br>
><br>
> Python 2.6.2 on AIX 5.3<br>
> How to using split o<br>
><br>
> >>> y = '"abc.p,zip.p",a,b'<br>
> >>> print y<br>
> "abc.p,zip.p",a,b<br>
> >>><br>
><br>
> >>> k= y.split(",")<br>
> >>> print k[0]<br>
> "abc.p<br>
> >>><br>
><br>
> Need Result, First element is<br>
> abc.p,zip.p</p>
<p dir="ltr">Try the csv module or the shlex module.</p>