Function
urllib.getproxies_environment

Signature

getproxies_environment()

Documentation String

Return a dictionary of scheme -> proxy server URL mappings.

Scan the environment for variables named _proxy; this seems to be the standard convention. If you need a different way, you can pass a proxies dictionary to the [Fancy]URLopener constructor.