Best way to delimit a list?

castironpi at gmail.com castironpi at gmail.com
Tue May 13 07:24:00 EDT 2008


On May 13, 6:18 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Tue, 13 May 2008 07:46:45 -0300, <dannywebs... at googlemail.com> escribió:
>
> > On May 13, 11:28 am, dannywebs... at googlemail.com wrote:
> >> Hi - I have a list returned from popen/readlines, and am wondering how
> >> to go about iterating over each item which was returned (rather than
> >> currently having the whole lot returned).
>
> >> >>> f=os.open("./get_hostnames").readlines
>
> > I did indeed mean "os.popen", no "os.open"
>
> Ouch, replace open with popen an my example is valid (but to get the  
> meaning I intended to write, replace os.open with open...)
>
> --
> Gabriel Genellina

Yes: fine!  But, all we do is start a Tron ring, play Tron on
laptops.  You have micro-divide currency, you can probably make
musicals -too-; and I don't have enough to say to get this...

BE TALKING!



More information about the Python-list mailing list