[Tutor] why does this fail

Roelof Wobben rwobben at hotmail.com
Thu Aug 26 08:22:43 CEST 2010

Hello Alan,


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.


 Alan Gauld
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
> HTH,
> -- 
> Alan Gauld
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100826/291935f4/attachment-0001.html>

More information about the Tutor mailing list