I have a program that reads, edits and writes to a lot of folders using a relative path. I want to convert this file to an exe and have that exe file be able to simply 'take the place' of that python file, so that the executable can be moved to different directories with the same file structure and still work well with different data. I'm trying to use pyinstaller to do this, but I'm confused about the --add-data parameter.
Inside of the docs, it says that if --one-file is chosen, then it will create a temporary directory with the data files and operate there, then delete it when the program finishes running.