Replies: 2 comments
-
We found the following entries in the FAQ which you may find helpful: Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review. This is an automated reply, generated by FAQtory |
Beta Was this translation helpful? Give feedback.
0 replies
-
Widgets can't be reliably pickled. You should keep the data independent from your widget, and save and restored that. JSON is a good format for such things... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my app the user can edit a Tree structure. I would like to make the changes permanent i.e. the next time the app loads, the edits get loaded back.
I don't really know anything about object persistence in Python. Can I just pickle the whole Tree object, for instance? Or is it bad practice to save entire Python objects out ? Maybe better to suck the node data out and save as JSON or similar?
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions