parse a normal textfile

devi thapa devi.thapa at gmail.com
Wed Oct 1 12:23:28 CEST 2008


hi all

           I have one normal text file. I need to parse the file, that too
in an associative way .
suppose that below is the normal textfile

name='adf'
id  =1
value=344

So when I give 'name' as an input, the output must be 'adf'

so please help me out with this.

regards,
devi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081001/029a677c/attachment.html>


More information about the Python-list mailing list