[Tutor] More Information

SA sarmstrong13@mac.com
Sun, 11 Aug 2002 08:08:37 -0500


On 8/11/02 2:30 AM, "Preeyanuch Sangsinlerd" <ae_iou11@hotmail.com> wrote:

> Hi All,
> I'm now interestes in Python. Do you have more information about Python' s
> regular expression, symbol, how to write it, function, etc. (information
> that not have in Python web site)
> Thank you all,
> Ae
> 
Try the re module.
http://www.python.org/doc/current/lib/module-re.html

Of course you could use the os module to run grep outside of the python
script or to run a perl script. But then why not just learn the obfuscated
language Perl?

But seriously, I believe the re module will give you pretty good regular
expression code.

Good Luck.
SA
-- 
"I can do everything on my Mac I used to on my PC. Plus a lot more ..."
-Me