Answer the question
In order to leave comments, you need to log in
How to save the entered data?
Good afternoon everyone. I started learning PyQt and against this background I decided to write a desktop application for testing, where the user himself will be able to enter questions, possible answers, and then conduct tests on them. There was a question about saving questions and answers. It seems to be impossible to save this in the exe file itself (I didn’t find how), I previously solved this problem by creating a json file, but in this case, anyone can go into the json file and change the text there, and not in the program. Can you please tell me if there is any more correct way to save data and access it? Is it possible to make data access and modification only from the program?
Answer the question
In order to leave comments, you need to log in
Serialize the object to a long string, encrypt, then use a zip archive and then save to a file/files.
Or encrypt the strings and add them to the SQLite database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question