__init__(self,
config_file=None)
(Constructor)
|
|
Create a ProxyHandler.
If config_file is provided, use that file for proxy configuration.
Otherwise try the following in order:
1) The file location specified by the SCHRODINGER_PROXY_CONFIG
environment variable.
2) The web_proxy.json file in the user's Schrodinger directory
(~/.schrodinger on Linux, %APPDATA%/Schrodinger on Windows).
3) The $SCHRODINGER/web_proxy.json file.
To override an existing $SCHRODINGER/web_proxy.json file, set
SCHRODINGER_PROXY_CONFIG to an empty string.
- Overrides:
urllib2.ProxyHandler.__init__
|