Jun-16-2019, 11:20 AM
Hi,
did you work through the official Python tutorial at docs.python.org yet? That's always a good idea, as it is perfect to learn all the basics. And iterating is one of Python's basics, as iteration is used a lot in Python - and iteration is something Python is really powerful at.
Anyway, blueprint for you:
did you work through the official Python tutorial at docs.python.org yet? That's always a good idea, as it is perfect to learn all the basics. And iterating is one of Python's basics, as iteration is used a lot in Python - and iteration is something Python is really powerful at.
Anyway, blueprint for you:
records = [] for item in nvm: record = {} record['event_id'] = item[0] #and so on records.append(record)Regards, noisefloor