pyinstaller how to package a library code example Example: how to use pyinstaller pyinstaller -- onefile <file name>