CmdID

CmdID / Commands

pyinstaller

Bundle a Python application and its dependencies into a single package. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Bundle a Python script into a one-folder bundle (output goes to dist/)

pyinstaller path/to/script.pyIdentify

Bundle a Python script into a single executable file

pyinstaller --onefile path/to/script.pyIdentify

Bundle a GUI application without opening a console window

pyinstaller --windowed path/to/script.pyIdentify

Set the name of the bundled executable

pyinstaller --name app_name path/to/script.pyIdentify

Set a custom icon for the executable

pyinstaller --icon path/to/icon.ico path/to/script.pyIdentify

Include additional data files or directories in the bundle

pyinstaller --add-data "path/to/source:destination" path/to/script.pyIdentify

Display help

pyinstaller --helpIdentify

Display version

pyinstaller --versionIdentify