[Tutor] using windows wide proxy settings
Kent Johnson
kent37 at tds.net
Thu Dec 4 02:46:21 CET 2008
On Wed, Dec 3, 2008 at 6:37 PM, Martin Walsh <mwalsh at mwalsh.org> wrote:
> The urllib and urllib2 modules also provide a helper function for
> retrieving proxy info...
>
>>>> import urllib2
>>>> urllib2.getproxies()
> {'ftp': 'ftp://10.0.0.100:8888', 'http': 'http://10.0.0.100:8888'}
And, since urllib is a Python module, you can easily look at the
source to see where it comes from.
Kent
More information about the Tutor
mailing list