select lines in python

David Gibb degibb at gmail.com
Tue Jul 14 15:26:29 EDT 2009


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<invalid at invalid> wrote:
> On 2009-07-14, amrita at iisermohali.ac.in <amrita at 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
>



More information about the Python-list mailing list