title: How can I connect to a VPN in my python script so I can run my code on Kaggle?
body: <p>I am transferring my script to Kaggle so that I can schedule my code to run without my computer.</p>
  <p>The current script is as follows</p>
  <pre><code>import urllib.request
  from urllib.request import Request, urlopen
  import prestodb
  
  query=&quot;&quot;&quot; 
  select 
  * 
  from 
  databse
  &quot;&quot;&quot;
  host='host.website'
  port='443'
  #Insert your credential here
  user='username'
  password='password'
  catalog='hive'
  
  conn=prestodb.dbapi.connect(
      host=host,
      port=port,
      user=user,
      catalog='hive',
      schema='dm',
      http_scheme='https',
      auth=prestodb.auth.BasicAuthentication(user, password),
  )
  
  cur = conn.cursor()
  cur.execute(query)
  rows = cur.fetchall()
  df = pd.DataFrame(rows)
  
  
  req = Request('website.csv')
  content = urlopen(req)
  </code></pre>
  <p>My script does the following:</p>
  <ul>
  <li>Connects to Presto DB and loads the information in pandas</li>
  <li>Connects to a website to download a csv</li>
  </ul>
  <p>Both the actions above require being connected to a VPN but I can't connect to a VPN when the script is run externally.</p>
  <p>The VPN is manages through my companies website and or company server.</p>
  <p>My question is, how do I add the VPN connection to my python script so it can be run externally?</p>