Perl Hacker, Python Initiate
steve+comp.lang.python at pearwood.info
Wed Feb 2 11:06:36 CET 2011
On Tue, 01 Feb 2011 23:36:27 -0500, Gary Chambers wrote:
> Given the following Perl script:
[snip line noise]
> Will someone please provide some insight on how to accomplish that task
> in Python?
No idea, I can't read Perl, and you shouldn't assume that people will be
Can you simplify your problem to the smallest sub-task that you cannot
perform? Focus on this part of the problem:
> 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.
What Python code are you using to loop? Simplify the problem to focus on
the fundamental problem, not the irrelevant details of looking up CNAME
and A Records using dig.
More information about the Python-list