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