I think what Grant is saying is that you should read the documentation for the re module.
David On Tue, Jul 14, 2009 at 3:12 PM, Grant Edwards<inva...@invalid> wrote: > On 2009-07-14, amr...@iisermohali.ac.in <amr...@iisermohali.ac.in> wrote: > >> Can i become more precise like instead of printing all lines >> for PHE and ASP is it possible that for PHE python will print >> only those lines which will have information about H and HA >> and for ASP it will print those lines which will have >> information about HA and HB? > > Yes. > > -- > Grant Edwards grante Yow! I KAISER ROLL?! > at What good is a Kaiser Roll > visi.com without a little COLE SLAW > on the SIDE? > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list