Skip to content

SyntaxError: invalid syntax #4

@protonic

Description

@protonic

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
`
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions