I have a list with more than 5000 items and this number can change daily (can go up to 10's of thousands). The length of list changes on almost a daily basis. So I want to split the list into smaller lists of length of 300 but I want the name of these smaller lists to be defined dynamically.
I.e.:
main_list = ['1029', '2314', '466754', '6345', '3456' ....]
to
list1 = ['1029', '2314' ... first 300 elements]
list2 = ['342343', '3425' ... next 300 elements]
and so on.