joonis Logo

Proxy usage

Using a proxy is done by setting the environment variable https_proxy.

Either directly in Python:

import os
os.environ['https_proxy'] = 'https://proxy.host.com'

or Linux/Mac:

export https_proxy=https://proxy.host.com

or Windows:

set https_proxy=https://proxy.host.com

Can I
  help you?


Just drop me a line at
giraffe@joonis.de