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