pyinstaller windows to mac code example Example: pyinstaller how to use mac $ pyinstaller --onefile --windowed --icon icon.icns --name testApp main.py