python run pyinstaller in python code example Example: how to use pyinstaller pyinstaller -- onefile <file name>