I use py2exe
, with the special option in order to produce one file only ( 'bundle_files': 1
). It works.
But in the output folder \\dist\\
, there are subfolders like tcl\\
, tk\\
, etc.
Is it possible to pack these folders inside the main .exe file, or in a .dll, instead of having this extra folder with lots of files ?
(The same is true with PyInstaller).
pyinstaller -F <your_python.py>
This will make only ONE big EXE. Without need any Python DLL, or TCL dirs, or anything.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.