PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Creating Binary Exectutables For Windows For Python Scripts

Go down

Creating Binary Exectutables For Windows For Python Scripts Empty Creating Binary Exectutables For Windows For Python Scripts

Post by jamied_uk 31st May 2023, 12:57

On a windows machine with oython 3.11 installed (or 3.6+)

This example will use an aio.exe with an icon image file called email.ico
Place all files in same folderĀ  and cd into that folder via cli

Code:
pyinstaller --onefile --icon=email.ico aio.py
Done!

Check dist folder!
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum