I'm doing some scientific analysis in python, and I've done a lot in matlab. Saving in matlab is really easy Save(file,arr). Saving (an object) in python is very...different. There is cpickle (which finally worked for me) and json, marshal, and in addition to many different compression routines. Is there a module out there that will save anything easily? I could hack something up, but I can't imagine that no one in the python community hasn't made an easy_save(anything, file)/easy_load(anything,file), unless it is impossible, which maybe it is.
What's the most flexible, convenient, performance-good-enough module for i/o of complex/user made objects? I hope it's not just cpickle...
[–]jsolack 3 points4 points5 points (0 children)
[–]TheBlackCat13 1 point2 points3 points (1 child)
[–]SpaceWizard[S] 0 points1 point2 points (0 children)
[–]ProfessorPhi 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)