My scenario is, lets say I have a
list1= ["a","b","c"] and this list is dynamic (data is getting appended).
My requirement is I need to process the list data each day to eventhub but I should not upload all data each day.I just need to upload the delta.
my approach is
index=0
for i range(len(list1):
## upload
index=index+1
I want to preserve the latest index value, for e.g. in first run index would be 2 and for next run index should be 3 not 0 as per above code. How should I proceed?