Home > other > Python how to temporarily keep a running list of all the data, so that the next run initialization
Python how to temporarily keep a running list of all the data, so that the next run initialization
Time:05-20
The problem is that I now have a loop iteration code, inside some list used to save all the optimal location and the optimal value of the iterative process, but if I don't have to loop iteration, so every time at the start of the list of all data will be initialized to 0. I want to have a way to keep one iteration is completed, in the program of the list (or number),
CodePudding user response:
Can only be run at a time to keep things to the local Excel or something, read again next time, large proportion of the new data will run a bit faster