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. Roelof Date: Wed, 25 Aug 2010 15:49:14 -0700 From: [email protected] Subject: Re: [Tutor] why does this fail To: [email protected] 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. Regards, Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ From: Roelof Wobben <[email protected]> To: [email protected] Sent: Wednesday, 25 August, 2010 19:38:03 Subject: RE: [Tutor] why does this fail Oke, That's what I ment. Apolize for the bad English. It's not the language I often use. Roelof > To: [email protected] > From: [email protected] > Date: Wed, 25 Aug 2010 19:32:59 +0100 > Subject: Re: [Tutor] why does this fail > > > "Roelof Wobben" <[email protected]> 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 - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
