Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Invalid Syntax Error
Post: RE: Invalid Syntax Error

I think it means when you run UsageCaptureExample.py you need to append the args. e.g. UsageCaptureExample.py hostfile outputfile time I'm a noob to python and programming so it's just a best guess.
robdhunter General Coding Help 3 33,634 Mar-11-2018, 12:13 PM
    Thread: Understanding Method/Function
Post: RE: Understanding Method/Function

#snippsat Thank you, easily understood.
robdhunter General Coding Help 2 2,651 Mar-10-2018, 11:57 PM
    Thread: Invalid Syntax Error
Post: RE: Invalid Syntax Error

If you are using Python3, therein lies your problem. There is no urllib2 in Python3. Try importing urllib.error instead.
robdhunter General Coding Help 3 33,634 Mar-10-2018, 09:26 PM
    Thread: Understanding Method/Function
Post: Understanding Method/Function

Am I understanding this correctly? A method is basically a function within a class, whereas a function is a separate entity able to be called globally
robdhunter General Coding Help 2 2,651 Mar-10-2018, 09:04 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020