sushma
sushma

Reputation: 139

Save current state of the application and load it back into the application in WXpython

I have developed an application in wxpython and now I want to save the state of the application so that I can load the application in the same state when I reopen it. I think I need to code for this. Can any one help me trying this? I have flatnote book, splitter windows and many such widgets in the application. I tried saving the objects using pickle but got an error saying "Pyswig objects cannot be stored".

Upvotes: 0

Views: 339

Answers (1)

Mike Driscoll
Mike Driscoll

Reputation: 33071

The PersistenceManager can take care of most of that. See http://xoomer.virgilio.it/infinity77/Phoenix/lib.agw.persist.persistencemanager.PersistenceManager.html for more information.

Upvotes: 2

Related Questions