#100DaysOfCode in Python Transcripts
Chapter: Days 94-96: Rich GUI apps in Python
Lecture: Your turn: Day 3
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Day 3, what you're going to do is
0:01
you're going to package up your app, so you're going to
0:03
install PyInstaller, and you're going to run this
0:06
build.spec, so the way to get started with these
0:08
is to just copy one, so here I've linked to the one
0:11
that I used for my demos.
0:13
You can take this and just change it ever so slightly,
0:16
so here's where I specify the name,
0:19
here's where I specify the name of the sort of entry point,
0:23
the main Python program we're going to run.
0:25
I think those are the only two things you need to change,
0:27
right, so take this, put it there,
0:31
and then just after you've installed PyInstaller,
0:33
you're going to run this line a little bit later.
0:35
In distribution app name, you should have either
0:38
an exe or a .app or, you name it.
0:42
Right, on Linux, you'll have
0:43
a Linux binary that you can run.
0:46
Zip it up and run it.
0:47
I hope you really enjoyed this experience building
0:50
simple, fire and forget, GUI applications in Python.
0:54
When you're done, as usual, share with the world
0:57
all the fun and joy of what you've had building this thing,
1:00
and I hope you have a great time and get to it.