<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello Alan,<BR>
&nbsp;<BR>
Oops, then I have a problem.<BR>
Im following this book : <A href="http://openbookproject.net/thinkcs/python/english2e/">http://openbookproject.net/thinkcs/python/english2e/</A> which is the first link&nbsp; in&nbsp;the beginners tutorial page.<BR>
And it's talking about the string modules.<BR>
&nbsp;<BR>
Roelof<BR>
<BR>&nbsp;<BR>
<HR id=stopSpelling>
Date: Wed, 25 Aug 2010 15:49:14 -0700<BR>From: alan.gauld@btinternet.com<BR>Subject: Re: [Tutor] why does this fail<BR>To: rwobben@hotmail.com<BR><BR>
<META name=Generator content="Microsoft SafeHTML">
<STYLE>
.ExternalClass DIV
{;}

</STYLE>

<DIV style="FONT-FAMILY: arial,helvetica,sans-serif; FONT-SIZE: 10pt">Thats OK, I only replied because what you said could genuinely have been <BR>a mistake because some old tutorials still refer to the string module amnd <BR>its functions. Because other begineers may read the post too it was <BR>important to make the distinction.<BR><BR>Regards,<BR>
<DIV>&nbsp;</DIV>Alan Gauld<BR>Author of the Learn To Program website<BR><A href="http://www.alan-g.me.uk/" rel=nofollow target=_blank>http://www.alan-g.me.uk/<BR></A>
<DIV><BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px">
<DIV style="FONT-FAMILY: arial,helvetica,sans-serif; FONT-SIZE: 10pt"><BR>
<DIV style="FONT-FAMILY: times new roman,new york,times,serif; FONT-SIZE: 12pt"><FONT size=2 face=Tahoma><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Roelof Wobben &lt;rwobben@hotmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> alan.gauld@btinternet.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, 25 August, 2010 19:38:03<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [Tutor] why does this fail<BR></FONT><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</STYLE>
Oke,<BR>&nbsp;<BR>That's what I ment.<BR>Apolize for the bad English. <BR>It's not the language I often use.<BR>&nbsp;<BR>Roelof<BR><BR>&nbsp;<BR>&gt; To: tutor@python.org<BR>&gt; From: alan.gauld@btinternet.com<BR>&gt; Date: Wed, 25 Aug 2010 19:32:59 +0100<BR>&gt; Subject: Re: [Tutor] why does this fail<BR>&gt; <BR>&gt; <BR>&gt; "Roelof Wobben" &lt;rwobben@hotmail.com&gt; wrote<BR>&gt; <BR>&gt; &gt; It's for learning purposed but I forget that de module string <BR>&gt; &gt; has built in functions.Thank you for remainding it to me.<BR>&gt; <BR>&gt; Its not the string module that Christian is referring to, <BR>&gt; its the methods of string objects - different things:<BR>&gt; <BR>&gt; <BR>&gt; You can do:<BR>&gt; <BR>&gt; import string<BR>&gt; string.replace(aString, aChr, another) # use string module<BR>&gt; <BR>&gt; But its better to do<BR>&gt; <BR>&gt; aString.replace(aChr, another) # use string method<BR>&gt; <BR>&gt; HTH,<BR>&gt; <BR>&gt; <BR>&gt; -- <BR>&gt; Alan Gauld<BR>&gt; Author of the Learn to Program web site<BR><SPAN>&gt; <A href="http://www.alan-g.me.uk/" target=_blank>http://www.alan-g.me.uk/</A></SPAN><BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Tutor maillist - Tutor@python.org<BR>&gt; To unsubscribe or change subscription options:<BR><SPAN>&gt; <A href="http://mail.python.org/mailman/listinfo/tutor" target=_blank>http://mail.python.org/mailman/listinfo/tutor</A></SPAN><BR></DIV></DIV></BLOCKQUOTE></DIV>                                               </body>
</html>