Kent Johnson tds.net> writes:
> In [39]: rr = [ ','.join(t for t in i if t!='-') for i in zip(*(
> i.split() for i in p.findall(s) )) ]
>
> In [40]: rr
> Out[40]:
> ['RA7,OSC1,CLKI',
> 'RA6,OSC2,CLKO',
> 'RA5,AN4,nSS1,LVDIN,RCV,RP2',
> '',
> 'RA3,AN3,VREF_PLUS,C1INB',
> 'RA2,AN2,VREF_MINUS,
John Fouhy fouhy.net> writes:
> Hmm, hairy!
>
Thank you John for your quick reply. It looks like its going to take a bit to
digest what you have written. Back to the Python 2.6 docs and the net. Had
actually read the expressions section earlier in the day, but did not see how to
apply to sai
Hello,
Just getting started with Python, and have had some early, although trivial
success. It looks like just the ticket to parse a data file. Total noob at
this, but really kind of overwhelmed by all the options. Looking for some
direction on which modules, librarys, or ? to accomplish the