On Feb 1, 8:36 pm, Gary Chambers <gwch...@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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to