title: How to read a CSV file from a URL with Python?
body: <p>when I do curl to a API call link <a href="http://example.com/passkey=wedsmdjsjmdd" rel="noreferrer">http://example.com/passkey=wedsmdjsjmdd</a></p>
  
  <pre><code>curl 'http://example.com/passkey=wedsmdjsjmdd'
  </code></pre>
  
  <p>I get the employee output data on a csv file format, like:</p>
  
  <pre><code>"Steve","421","0","421","2","","","","","","","","","421","0","421","2"
  </code></pre>
  
  <p>how can parse through this using python.</p>
  
  <p>I tried:</p>
  
  <pre><code>import csv 
  cr = csv.reader(open('http://example.com/passkey=wedsmdjsjmdd',"rb"))
  for row in cr:
      print row
  </code></pre>
  
  <p>but it didn't work and I got an error</p>
  
  <p><code>http://example.com/passkey=wedsmdjsjmdd No such file or directory:</code></p>
  
  <p>Thanks!</p>