beginner's question

Hadi hadi at nojunk.com.au
Fri May 14 10:12:31 EDT 2004


Sean,

I am grateful for your help.
Sorry for the previous reply.
God bless you. Thank you.

regards,
hadi


"Sean Ross" <sross at connectmail.carleton.ca> wrote in message
news:Ny3pc.34409$dr1.944419 at news20.bellglobal.com...
>
> "Sean Ross" <sross at connectmail.carleton.ca> wrote in message
> news:Xs3pc.34385$dr1.943764 at news20.bellglobal.com...
> >     dst.write(str(w in lexicon))    # writes 'True, ' or 'False, '
>
> The above code will run the True/False output together, e.g.
> "TrueTrueFalseTrueFalse".
> I doubt that's what you want. Perhaps this, instead:
>
> dst.write("%s "%(w in lexicon))
>
> That would write "True True False True False".
>
> Sean
>
>





More information about the Python-list mailing list