Premium Only Content

Convert GUI App to Real Program - Python to exe to setup wizard
Python Projects
You've just made a beautiful GUI app with Python - but there's a big difference between creating an app for your personal use and distributing it all across the web, reaching many people who don't necessarily know anything about Python.
In this tutorial, I will show you exactly how to convert your Tkinter, Kivy, KivyMD, PyQT5, or other GUIs into a full-blown professional program! 🤩🤩🤩
The end result is a 😱 SINGLE SETUP FILE 😱 which anyone can download and install on their computer - even your grandmom!!! 👵
We will use Pyinstaller to create an executable file and Inno Setup to bundle it with dependencies and convert them into a setup wizard.
In addition, we will discuss some common errors, how to fix them and how to avoid irrelevant instructions (hint: do we really need to modify the SPEC file? 🤔)
We will briefly tackle licensing (open source, as you may guess 😉), and generating icons.
Please note, this video is designed for Windows developers and users! However, I will cover Linux and Mac as well in some future tutorials... the Mac tutorial is of course inspired by Tom! XDD (but only members of our Discord community will understand the joke, this is how I test if they read video descriptions 😅)
-------------------------------------------
⏰ Time Stamps ⏰
-------------------------------------------
00:00 - intro
00:40 - project files and database
01:31 - download Random Recipe Picker (or use your own Python app)
03:29 - install requirements.txt
03:46 - Pyinstaller vs auto-py-to-exe
04:25 - run Pytinstaller builder
05:22 - prep GUI script for Pyinstaller
05:56 - resource path (and important sys._MEIPASS fix!)
08:18 - SPEC file
09:20 - generate software icons
10:04 - convert script and assets to exe file
11:22 - fix Pyinstaller File Not Found Error
12:48 - test executable
13:36 - install Inno Setup
14:17 - convert exe and assets into a setup file
16:39 - license
20:00 - add subdirectories to Inno Setup compilable
21:56 - test setup file on another PC
22:57 - thanks for watching! :)
-
18:10
Sideserf Cake Studio
5 hours ago $0.92 earnedIs This the ULTIMATE Cake Smashing Moment?
24.9K2 -
12:51
Misha Petrov
18 hours agoTrump KICKS OUT Zelenskyy After HEATED White House Meeting!
23.9K58 -
16:39
Tactical Considerations
1 day ago $0.90 earnedWatchtower Apache Double Stack 1911 Made Me Question Everything?
19.2K -
16:20
T-SPLY
6 hours agoCNN Meltdown Over Zelesnky Disrespecting Donald Trump And JD Vance
16.2K16 -
8:39
Silver Dragons
1 day agoGold & Silver Price KEEP DROPPING 👀
11.6K4 -
1:20:14
TheTapeLibrary
19 hours ago $0.70 earnedThe Strangest Paranormal Case of All Time
8.41K3 -
13:58
Chris From The 740
8 hours ago $0.16 earnedOld School Icon, New School Features – The Influencer X Hits The Mark!
6.09K -
30:31
SB Mowing
1 day agoI brought in REINFORCEMENTS when I saw the state of this yard
159K54 -
1:59:13
Adam Carolla
2 days agoBeing Republican & in Hollywood +Kelsey Grammer on Fatherhood + Peter Berg's Super Bowl Commercials
104K45 -
18:29
DeVory Darkins
19 hours ago $49.41 earnedZelenskyy KICKED OUT of the White House after shouting match erupts
148K265