Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Save and retreive multiple dumps() items to/from file

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. ​