Reading a file

zaheer.agadi at gmail.com zaheer.agadi at gmail.com
Sat Feb 14 07:37:57 EST 2009


Hi

How do i read  a file in Python and search a particular pattern
like I have a file char.txt  which has

Mango=sweet
Sky=blue

I want to get the strings sweet and blue,How to do this..?

Thanks



More information about the Python-list mailing list