[Tutor] extracting lines between patterns.

Bala subramanian bala.biophysics at gmail.com
Mon May 14 09:31:41 CEST 2012


Friends,
Could someone please give some hint on how to extract lines between two
patterns in a file. I use the re module to compile my patterns but not able
to figure out how i can use these patterns to extract the lines lying in
between.

Thanks,
Bala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120514/e0dc506e/attachment.html>


More information about the Tutor mailing list