samuel / python-ping

Pure Python version of ICMP ping
229 stars 309 forks source link

Python version #11

Open yukimer opened 7 years ago

yukimer commented 7 years ago

Was this program made to run on python 2.7 or 3? There's some syntax problem going on and I have no idea if this is because of the version or what. I'm really thankful if you could help me with this. Thank's!

jbrendel commented 7 years ago

If you need a python ping that works with Python 2 as well as 3, I would like to point out my own ping implementation here: https://github.com/romana/multi-ping

It's small and compact, works with py2 and py3, is capable of monitoring many addresses simultaneously and can even take care of retries for you.

jamesb2147 commented 6 years ago

To directly answer yukimer's question, this program was designed and runs fine for me in python2.7. This issue can definitely be closed.

mungewell commented 6 years ago

I can confirm that this script functions with Python2, but syntax errors (on the 'except') with Python3.