title: AttributeError: module 'requests' has no attribute 'open'
body: <p>I got this error </p>
  
  <blockquote>
    <p>AttributeError: module 'requests' has no attribute 'open'</p>
  </blockquote>
  
  <p>when tried running the script below :</p>
  
  <pre><code>import requests
  
  headers = {
      'Content-Type': 'application/json',
  }
  
  params = (
      ('key', 'mykeyhere'),
  )
  
  data = open('request.json')
  response = requests.post('https://www.googleapis.com/qpxExpress/v1/trips/search', headers=headers, params=params, data=data)
  </code></pre>
  
  <p>Am I missing something ?</p>