[Tutor] python regex help

Alan Gauld alan.gauld at btinternet.com
Sun Sep 28 18:26:25 CEST 2008

"Arun Tomar" <tomar.arun at gmail.com> wrote

> I've been using shell scripting & using sed & pipes i've solved it,
> but with python, i need to practice more ;).

Can you show us some output as you'd like irt?
Can you show us the sed script that works?

Also can you show us the Python code that doesn't work
and what went wrong? Its easier to fix what's broken than
to guess at what might do what you want :-)

Alan Gauld
Author of the Learn to Program web site

More information about the Tutor mailing list