I have written a backtrack search for objects in sagemath. I do not know how many it will find and I would like to write them to a file as I find them with
F.write(dumps(new_solution))
How can I read them all back in? Something like this solution in python.