title: how to persist/store data in executable compiled with pyinstaller
body: <p>I need to locally store some basic data the user inputs into my exe. The program was compiled using pyinstaller and was previously making use of the os open method of saving data to txt files. It is my understanding that macOS(my OS although cross-compatibility with Windows would be great) locks executables so that they may not make any file changes. The program currently does save the data, but when the executable is run again the old data is no longer accessible. </p>
  
  <p>It seems obvious that apps store things locally all the time, how can data be persisted specifically within the python/pyinstaller combination?</p>
  
  <p>Apologies if this is a simple question, it definitely seems simple but I can't find documentation for this anywhere.</p>