python-ping icon indicating copy to clipboard operation
python-ping copied to clipboard

Python version

Open yukimer opened this issue 7 years ago • 3 comments

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!

yukimer avatar Apr 10 '17 19:04 yukimer

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.

jbrendel avatar Aug 16 '17 21:08 jbrendel

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

jamesb2147 avatar Jan 02 '18 20:01 jamesb2147

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

mungewell avatar Jan 05 '18 18:01 mungewell