How to backup and restore python current working environment? -


i want write function 'backup(filename)' store working data (objects?) under current environment of python, , 'restore(filename)' restore data/object again. r's save.image(file="workspace21.rdata") , load(file="workspace21.rdata"), can snapshot system.

how write "backup" & "restore" ? or there package existed can ?

a bit out of box, if important , need full solution, can run python inside virtual machine , use snapshots save session state. whether practical or not depends on use case.


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -