pythonexepyinstaller

.py to exe without other files


Using pyinstaller, I created a .exe file and other files. Can I create ONLY the .exe, without other files, or is there any way to put together all files? I need your help.

here is my screenshot


Solution

  • Run this command; pyinstaller --onefile your_script_name.py