Invalid port number in request for secure site web page

jfdutcher1958 jfdutcher1958 at yahoo.com
Tue Oct 19 14:35:39 EDT 2004


Python returns this message:

InvalidURL: nonnumeric port: '//www.a2webhosting.com:2083/frontend/x2'

in reponse to the call below ....but the port number looks 
numeric  ???

***************************************************************
import sys, httplib
showlines = 56
try:
    servername, filename = sys.argv[1:]           # cmdline args?
except:
    servername, filename 
= 'https://www.a2webhosting.com:2083/frontend/x2', '/index.html'
    
print servername, filename







More information about the Python-list mailing list