Perl Hacker, Python Initiate
Carl Banks
pavlovevidence at gmail.com
Wed Feb 2 02:52:02 EST 2011
More information about the Python-list mailing list
Wed Feb 2 02:52:02 EST 2011
- Previous message (by thread): Perl Hacker, Python Initiate
- Next message (by thread): Perl Hacker, Python Initiate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Feb 1, 8:36 pm, Gary Chambers <gwch... at gwcmail.com> wrote: > open DIG, "$DIGCMD|" or die "$DIG: $!\n"; > while (<DIG>) { > Will someone please provide some insight on how to accomplish that task in > Python? I am unable to continually (i.e. it stops after displaying a single > line) loop through the output while testing for the matches on the two > regular expressions. Thank you. You may have called read() instead of readlines(). Carl Banks
- Previous message (by thread): Perl Hacker, Python Initiate
- Next message (by thread): Perl Hacker, Python Initiate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list