[BangPypers] need help

Anand Balachandran Pillai abpillai at gmail.com
Fri Mar 16 04:28:29 CET 2012


On Fri, Mar 2, 2012 at 4:52 PM, mallanna biradar <biradar.m at gmail.com>wrote:

> Hi,
>
>
> I need to help for writing small script which will search for a patter in a
> file and insert some lines after that.
>

For pattern matching and replacing, Python gives you the "re" module.
Read the online documentation, try a few examples which should help
you to get started.

http://docs.python.org/library/re.html

>
>
>
> Regards,
> Mallanna Biradar
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
--Anand


More information about the BangPypers mailing list