My data Files, including Images, Audios, Icons must be near my .exe
file, without them I am not able to run my output, so how can I pack fully in one Executable File? By the way I am using pyinstaller
or auto-py-to-exe
.
Thanks in advance.
My data Files, including Images, Audios, Icons must be near my .exe
file, without them I am not able to run my output, so how can I pack fully in one Executable File? By the way I am using pyinstaller
or auto-py-to-exe
.
Thanks in advance.
pyinstaller -F -i <iconfile> <pythonfile>
If you put -F
, you will get one file.