I'm writing a software and I want to save what I have done so that i can re-open the software and restart from where I stopped. How can I do it? Surfing on the net I find Some doc about objects serialization, so they can be converted in bytes...What it means? I can't understand very well.
Python is very powerful because it does almost everything by itself, but it is even very difficult.
There is a package, named Pickles, which takes tho objects and sves them to a file. Pay attention because it does not save everything. For other information here is the link .
So there are different possibilities:
- You can save the list of the operation you did, quite easy to code, but it has a low efficiency on opening.
- You can use the pickles and you don't save everything, it's a little bit more difficult, but it is even more efficient.
- You can optimize the code so that the opening is simple, it's hard to code, but very efficient.
0 comments:
Post a Comment