python - Saving/Loading GUI with wxPython -


I have created a UI builder with wxpython which means that I can dynamically create buttons and other widgets then the program Will give me the code. / P>

Here's the problem: How can I save my work to a user? Then load it later, and all the widgets will return to the screen?

I tried all the ways, even by using the exec () I always go into problems.

Can someone please post an example on this? I can not find anything on this internet for this problem.

You may be able to use PersistenControls with help with:

It really is now included in the wxPython, I guess. Other than perhaps 2.8.11, you could use XRC to save as XML. See the following links for more information:



Comments