how to package correctly for pyinstaller code example Example: how to use pyinstaller pyinstaller -- onefile <file name>