Re: example of using urllib2 with https urls

2005-10-18 Thread Larry Bates
import httplib import base64 import sys import random # # Get the length of the file from os.stat # username='' password='' file='' size=os.stat(file)[6] # # file contains the entire path, split off the name # WebSafe. # name=os.path.basename(file) url='https://www.somedomain.com' auth_string =

example of using urllib2 with https urls

2005-10-18 Thread Michele Simionato
Can somebody provide an example of how to retrieve a https url, given username and password? I don't find it in the standard documentation. TIA, Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list