[Tutor] why does this fail
rwobben at hotmail.com
Thu Aug 26 08:22:43 CEST 2010
Oops, then I have a problem.
Im following this book : http://openbookproject.net/thinkcs/python/english2e/ which is the first link in the beginners tutorial page.
And it's talking about the string modules.
Date: Wed, 25 Aug 2010 15:49:14 -0700
From: alan.gauld at btinternet.com
Subject: Re: [Tutor] why does this fail
To: rwobben at hotmail.com
Thats OK, I only replied because what you said could genuinely have been
a mistake because some old tutorials still refer to the string module amnd
its functions. Because other begineers may read the post too it was
important to make the distinction.
Author of the Learn To Program website
From: Roelof Wobben <rwobben at hotmail.com>
To: alan.gauld at btinternet.com
Sent: Wednesday, 25 August, 2010 19:38:03
Subject: RE: [Tutor] why does this fail
That's what I ment.
Apolize for the bad English.
It's not the language I often use.
> To: tutor at python.org
> From: alan.gauld at btinternet.com
> Date: Wed, 25 Aug 2010 19:32:59 +0100
> Subject: Re: [Tutor] why does this fail
> "Roelof Wobben" <rwobben at hotmail.com> wrote
> > It's for learning purposed but I forget that de module string
> > has built in functions.Thank you for remainding it to me.
> Its not the string module that Christian is referring to,
> its the methods of string objects - different things:
> You can do:
> import string
> string.replace(aString, aChr, another) # use string module
> But its better to do
> aString.replace(aChr, another) # use string method
> Alan Gauld
> Author of the Learn to Program web site
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor