On Wed, Dec 3, 2008 at 6:37 PM, Martin Walsh <[EMAIL PROTECTED]> 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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to