_csv.Error: line contains NULL byte
<p>I'm trying to open and read a csv file from an url. But getting an error:</p>

<pre><code>Traceback (most recent call last):
  File "C:\Users\Rasmus\Dropbox\Portfolio\src\Main.py", line 8, in &lt;module&gt;
    for line in csvfile:
_csv.Error: line contains NULL byte
</code></pre>

<p>Does it have something to do with the encoding?</p>

<pre><code>import csv
import urllib.request
import codecs

url = "https://biz.yahoo.com/p/csv/333conameu.csv"
ftpstream = urllib.request.urlopen(url)
csvfile = csv.reader(codecs.iterdecode(ftpstream, 'utf-8'))
for line in csvfile:
    print(line) 
</code></pre>