The fundamentals...

Mike Read mread at cableinet.co.uk
Wed Jan 31 14:46:42 EST 2001


"Alex Martelli" <aleaxit at yahoo.com> wrote in message news:94p6uh024lf at news2.newsguy.com...
> "Neil Schemenauer" <nas at arctrix.com> wrote in message
> news:mailman.980382102.30218.python-list at python.org...
> > On Wed, Jan 24, 2001 at 08:58:46AM -0800, Neil Schemenauer wrote:
> > > So you can do:
> > >
> > >     boo = string.replace(". ", "\n")
> >
> > That should be:
> >
> >       boo = string.replace(boo, ". ", "\n")
>
> Or boo = boo.replace('. ', '\n')  [in Python 2, but surely
> we're all upgraded by now, aren't we?-)]

I am - but the book I'm learning from isn't.  Still, thanks for
all your comment.  With ref to the comment from Unix-land,
Windows is a necessity, not a desire I fear.

Regards,

Mike





More information about the Python-list mailing list