CSV out of range
I tried to read a CSV file with 30000 products in it and index it into
a list using
file = open("ShopPrices.csv", "rbU")
reader = csv.reader(file, delimiter=";")
mylist = 
for x in reader:
The problem comes when I try to index the SKU array and the field is empty
for sku in mylist:
after the 3060 result I'm getting an error:
IndexError: list index out of range
and it seems that there I have empty array, I wanted to ignore the
empty arrays using if statement, but it does the same.
|All times are GMT. The time now is 10:17 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.