I am writing a short script.py
which will update archive.tar
.
The tar archive's content is one single file: file.txt (Content: "Hello")
.
I am using 7za.exe
which is the the command line version of 7zip to update file.txt
with another file.txt (Content: "Hello world")
. I am using the following command:
os.system("7za u archive.tar file.txt")
So far everything is working, however I would like to create an executable from the Python Script using PyInstaller, since not everyone using this script will have python installed.
My question: is there a way to merge both script.py
and 7za.exe
into one single .exe file?
So far, I have not been able to find an answer.