import csv
import zipfile
if __name__ == '__main__':
url = []
with zipfile.ZipFile('111.ZIP') as zp:
with zp.open(zp.namelist()[0], 'r') as fli:
data = csv.reader(fli)
for _, website in data:
url.append(website)
print(url)
_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)