title: Python FileNotFoundError when reading a public json file
body: <p>I have a public viewable JSON file that is hosted on s3. I can access the file directly by clicking on the public url to the s3 object and view the JSON in my browser fine. Anyone on the internet can view the file easily.</p>
  
  <p>Yet with the below code is ran in Python (using Lambda connected to an API trigger) I get <code>[Errno 2] No such file or directory:</code> as the <code>errorMessage</code>, and <code>FileNotFoundError</code> as the <code>errorType</code>.</p>
  
  <pre><code>def readLeetDictionary(self):
          jsonfile = 'https://s3.amazonaws.com/url/to/public/facing/file/data.json'
          with open(jsonfile, 'r') as data_file:
              self.data = json.load(data_file)
  </code></pre>
  
  <p>What am I missing here? Since the file is a publicly viewable JSON file I would assume I wouldn't be forced to use <code>boto3</code> library and formally handshake to the file in order to read the file (with <code>object = s3.get_object(Bucket=bucket_names,Key=object_name)</code> for example) - would I?</p>