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! :)
-
26:09
Exploring With Nug
13 hours ago $8.95 earned13 Cold Cases in New Orleans What We Discovered Beneath the Surface!
34.1K11 -
27:39
MYLUNCHBREAK CHANNEL PAGE
7 hours agoDestroying Time.
117K18 -
LIVE
Mally_Mouse
3 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Minecraft Christmas Adventure!!
2,773 watching -
2:14:31
Side Scrollers Podcast
8 hours agoSide Scrollers INVITE ONLY - Live From Dreamhack
149K9 -
1:18:23
Simply Bitcoin
2 days ago $13.78 earnedThe Bitcoin Crucible w/ Alex Stanczyk and Lawrence Lepard
32.4K5 -
1:25:03
Jeff Ahern
8 hours ago $21.77 earnedThe Saturday Show with Jeff Ahern
93.7K13 -
1:31:56
Michael Franzese
23 hours agoWill NBA do anything about their Gambling Problems?
146K30 -
57:26
X22 Report
12 hours agoMr & Mrs X - The Food Industry Is Trying To Pull A Fast One On RFK Jr (MAHA), This Will Fail - EP 14
126K77 -
2:01:08
LFA TV
1 day agoTHE RUMBLE RUNDOWN LIVE @9AM EST
174K15 -
1:28:14
On Call with Dr. Mary Talley Bowden
10 hours agoI came for my wife.
45.7K37