On 13/11/12 09:50, Norman Khine wrote:
also which is more efficient:
c.writerow(adm_product) # writing the product to the csv when all the
fileds are found
or
products = [] # adding them to a list first and then writing them to the csv
products.append(adm_product)
c.writerow(x) for x in produ
hello,
i am trying to create a csv file in python and map the fields to a
pre-existing fields, here is the title fileds of my csv
c = csv.writer(open("adm_products.csv", "wb"), delimiter='\t',
quotechar='"', quoting=csv.QUOTE_ALL)
import_fields = ["ID", "Active (0/1)", "Name *", "Categories (x,y