<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 12:26 PM, Tino Dai <span dir="ltr"><<a href="mailto:oberoc@gmail.com">oberoc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I decided to go with Regular Expressions to modify the text. In the<br>
Python.org it is stated that they provide more options and flexibilty<br>
compared to strings and their modules.<br>
</blockquote>
<br></div>
"their modules" referring to the "string" module and the string methods here, I assume.<br>
<br>
Regular expressions are also a lot harder to read and get right, you'll see. They are an important tool in a programmers toolbox, so it's good to learn them, but it's also good to know when *not* to use them.<br>
<br>
</blockquote><br></div>Khawla,<br><br> Stefan is right. Regular expressions are tough especially for a beginner. The spiderman quote comes to mind: With great power, comes great responsibility. Check this article for some background on regex.<br>
<br><a href="http://www.codinghorror.com/blog/2008/06/regular-expressions-now-you-have-two-problems.html" target="_blank">http://www.codinghorror.com/blog/2008/06/regular-expressions-now-you-have-two-problems.html</a><br>
<br>-Tino<br></div>
<br>_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
<br></blockquote></div><br>google crawling web pages in python<br><br>I did a quick check and there are some tutorials. I agree with above -- if you are new to programming, the last thing you need to tackle first are regular expressions!<br clear="all">
<br>-- <br>Joel Goldstick<br><br>