ping-python
ping-python copied to clipboard
SyntaxError: invalid syntax
I am running the code in PyCham but getting this error..
`C:\Users\hercules\PycharmProjects\PingReporter\venv\Scripts\python.exe C:/Users/hercules/PycharmProjects/PingReporter/ping.py File "C:/Users/hercules/PycharmProjects/PingReporter/ping.py", line 149 except socket.gaierror, ex: ^ SyntaxError: invalid syntax
Process finished with exit code 1
`
@protonic are you using python3? ping was written back when python2 was the most stable version.