How to get around urllib2.HTTP when running a python script
How to get around urllib2.HTTP when running a python script I'm trying to run a python script in Windows 7 in the command prompt, however I keep receiving this error every time I try to run it. File "inb4404.py", line 73 except urllib2.HTTPError, err: ^ Syntax Error: invalid syntax I'm not sure what I'm doing wrong. I located the directory containing the python script using 'cd' and also have Python in my PATH. Then I wrote 'python inb4404.py' and received that error. Any pointers would be greatly appreciated, thank you. You're trying to run a Python 2 script in Python 3. Don't do that. – jwodder Jul 2 at 0:57 Thank you so much. That fixed the problem. – Justin Song Jul 2 at 1:16 ...