Recently, I created a small Python project and decided to compile it into one .exe file (with pictures, sound, etc ...). And I managed to do it, but there was a problem when overwriting files in the application when it was restarted. That is, when I launch the application and somehow make changes there, the file is overwritten, and I can observe these changes, but when the application is closed, all changes disappear. How to make all changes be saved even after the application is closed?
The problem is solved, here is the link to the source: https://github.com/mygazztop/FastNumbers/blob/master/results/FastNumbers(beta).exe