On Sat, Feb 3, 2018 at 1:11 PM, Peter J. Holzer wrote:
> On 2018-01-30 08:56:16 -0800, Dan Stromberg wrote:
> > dig -x should return a single PTR in all cases, shouldn't it?
>
> No. dig -x should return *all* PTR records. There is usually at most one
> of them, but there may be several. (46 seems
To see output you should use function that prints to the output, for
example print(). You also do not calculate correctly the tax and tip, it is
percentage from the meal cost, so the tax to be added to the total meal
cost is meal * tax / 100.
meal = 44.50
tax = 6.75
tip = 15.0
tax_amount = meal *
I'm completely new to Python.
I have the following function to find the parent for domain. It removes the
left most label from the name and then checks if SOA record exists for the
reminder, if not it calls itself recursively removing another label and
checking again for SOA record. It works well f
On Mon, Apr 11, 2011 at 5:20 PM, Chris Angelico wrote:
> On Tue, Apr 12, 2011 at 12:10 AM, Natan Yellin wrote:
> > Hey everyone,
> > This is my first posting to python-list, so be gentle.
> > I propose the following function for the math module (which can, of
> cours
gt; stat = zod(x,y)
I've encountered this issue before, but I don't know how common it is. Let
me know!
Would you use zod? Or do you need ood (one or divide), in which case lets
forget this altogether!
Natan
--
blog: http://natanyellin.com
<http://natanyellin.com/>twitter:
there simpler way of doing
it?
Thanks in advance,
Natan
--
http://mail.python.org/mailman/listinfo/python-list
Hi.
I have a python script under linux where I poll many hundreds of
interfaces with mrtg every 5 minutes. Today I create some threads and
use os.system(command) to run the process, but some of them just hang.
I would like to terminate the process after 15 seconds if it doesn't
finish, but os.syst