0
I developed a notepad app, but every time I close the app it erases all the annotated tasks, how do I make it not happen?
0
I developed a notepad app, but every time I close the app it erases all the annotated tasks, how do I make it not happen?
-1
Some ways to persist data:
1) Disk files: read about the functions open()
, write()
, read()
and close()
, used to create files and write/read data to disk. https://panda.ime.usp.br/pensepy/static/pensepy/10-Arquivos/files.html
2) Database: the simplest, and that comes ready for use is the sqlite
. http://pythonclub.com.br/gerenciando-banco-dados-sqlite3-python-parte1.html
Browser other questions tagged python-3.x tkinter
You are not signed in. Login or sign up in order to post.
Hello, it would be good if you divulge a little of your code to help better, you want to save it where? Database? Or you want to do it in a way that’s like a notepad on your phone, where what I’ve written remains?
– felipi