[Tutor] retrieve URLs and text from web pages
Stefan Behnel
stefan_ml at behnel.de
Tue Jun 29 17:38:39 CEST 2010
Khawla Al-Wehaibi, 29.06.2010 17:12:
> I decided to go with Regular Expressions to modify the text. In the
> Python.org it is stated that they provide more options and flexibilty
> compared to strings and their modules.
"their modules" referring to the "string" module and the string methods
here, I assume.
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.
Stefan
More information about the Tutor
mailing list