title: Invalid Argument error while reading json values in python
body: <p>Invalid Argument error while reading external json file's values in python</p>
  
  <p>I tried:</p>
  
  <pre><code>import json
  
  with open('https://www.w3schools.com/js/json_demo.txt') as json_file:
      data = json.load(json_file)
      #for p in data['people']:
      print('Name: ' + data['name'])
  </code></pre>
  
  <p>Gave me error:</p>
  
  <blockquote>
    <p>with open('<a href="https://www.w3schools.com/js/json_demo.txt" rel="nofollow noreferrer">https://www.w3schools.com/js/json_demo.txt</a>') as json_file: OSError: [Errno 22] Invalid argument:
    '<a href="https://www.w3schools.com/js/json_demo.txt" rel="nofollow noreferrer">https://www.w3schools.com/js/json_demo.txt</a>'</p>
  </blockquote>