I have a 2 files that I want to put in a .exe file.
One of those files is a .py and another is a .txt
I couldn't find how to take more than one file and turn it into an executable.
Please help.
I have a 2 files that I want to put in a .exe file.
One of those files is a .py and another is a .txt
I couldn't find how to take more than one file and turn it into an executable.
Please help.
You should put the .txt file in a folder and then put the name of the folder in the < folder > tags:
pyinstaller --onefile --windowed --add-data "<folder>;<folder>" <filename.py>