SyntaxFix
Write A Post
Hire A Developer
Questions
In future, for those that use python3 and later, here's another code to find response code.
import urllib.request def getResponseCode(url): conn = urllib.request.urlopen(url) return conn.getcode()