Creating Standalone Executable from Python

Install the Python Installer


pip install pyinstaller


Generate an icon for your application from web tool


http://tools.dynamicdrive.com/favicon/


Issue the following command

pyinstaller --onedir --onefile --name="Demo" --windowed --icon="favicon.ico" "demo.py"


Comments

Popular posts from this blog

Converting Excel File to JSON File using xlrd module

Using Oracle with Python

Using time module