This is a lecture by Nado Coding, whom I trust and listen to!
5.0
zero250i
100% enrolled
I am really enjoying this great lecture. I am studying C language, Java, and Python, and it is so much fun. Thank you!! :)
5.0
devMiddleStone
100% enrolled
You can do this with Python,
It was such an enjoyable lecture that I thought, 'I can make something too.'
I'm really looking forward to the next lecture.^^
Thank you.
What you will gain after the course
Build your skills by using basic Python grammar
Creating a practical program using the tkinter library
Getting started with Python, Have fun and hone your skills with GUI programming!
Lecture Introduction 🎮
Many people learn the basics of Python well, but
1. How to improve your skills from beginner to intermediate? 2. What can you do with Python?
I know you're having trouble with these two things.
So, I decided to create a course for these people that would help them develop their skills by creating a total of eight practical projects that are diverse and useful.
And the second project is 'GUI programming'.
During my college days, the first language I learned was C. (Oh, I also learned GW-BASIC when I was little, but I'll leave that out of the discussion 😆)
This is what I felt while learning C: ▼
1. Difficult 2. Difficult 3. Difficult 4. Ah C.. What are you talking about? -- After pointer class -- 5. No memory
(frenzy)
The professor taught us very diligently. Really diligently.
But the only answer for us is the end...
But one question remained.
"Why are only letters coming out?? "All the programs I use have pretty graphics?"
Compression programs, word processors, games, browsers, of course. Even Notepad, Paint, and Minesweeper all had pretty windows with buttons, images, etc.
I was so curious that I asked the teaching assistant, but the answer I got was "You'll learn it if you study hard. You can make a living just by learning just one C."
You don't have to know now...
Yes, looking back now, the teaching assistant's words were not wrong. But at that time, I was so frustrated, and from then on, I only did code that produced text and didn't feel much interest in development.
All of the major subject labs and assignments were like this.
Like making a pyramid with C,
???
Writing the multiplication table in C... All that came out were letters.
????
In my young mind, I thought that if I just made things like this while learning coding, No matter how hard I worked on it, I couldn't bring myself to give it to anyone to try...
This is exactly what I wanted.
At least a notepad made with Java
Notepad
Something like this that looks like it could work.
It looks like it will work immediately when you press the button.
Yes, it is a program that covers something called GUI. (GUI: Graphical User Interface)
The topic of this application is 'GUI programming'. There are various GUI libraries in the Python camp. (tkinter, PyQt, wxPython, PyGui, PySide, ...)
Among them, I chose tkinter because it is the easiest and fastest to develop with. It is also something that comes automatically when you install Python.
Python GUI programming library, Tkinter
First, we will study the basics of tkinter and learn what widgets are available and how to use them. There are also buttons you can click to try it out,
It works when you press the button
There are also labels that simply display text or images.
Label
We will also learn about the entry and text boxes, which are really frequently used and allow you to enter text.
Enter text into the text box!
There is also a list box to easily manage multiple items ^^
List box
You see this often, right? It's the check button 😆
Check the appropriate items
There are also radio buttons that allow you to choose one of several options.
Choose just one
Let's learn a few more things, including these important ones, and also create a top menu.
Top menu
I guess I'll have to figure out how to arrange the widgets the way I want. To do this, let's create a numeric keypad section for the keyboard. It looks like a calculator 😊😊
A numeric keypad that looks like a calculator
And then, after learning the basics, you can't miss out on quizzes! For review, let's create a program that is identical to Windows Notepad.
(Notepad we made together)
(Original Notepad)
They are so similar that you can't tell the difference
Of course you will make it yourself ^^
Cheers!
It will take exactly 2 hours to get to this point based on the video. After that... I'll be working on a project that I really, really like. The best part of learning coding is creating a program of some scale yourself. ^^
What kind of project is it? If you look on the Internet, there are images that combine key scenes from dramas, movies, and TV programs into one, right? For example, things like this (I love Infinite Challenge..)
It is not an easy task to capture the desired scene while watching a video and then combine the captured images one by one. So we're going to create a program that makes this task incredibly easy.
The program looks and works roughly like this:
1. Select the images to merge 2. Select the save path 3. What happens when you press start?
end!!
..Doesn't that sound plausible??? ^^;;
As a bonus, we'll also create a utility that automatically captures the screen and saves it to a file when you press a key on the keyboard. That way, you can actually use this program while watching the video ^^
After you've done this,
How to create GUI programming
How does the code I've been practicing with text fit into the GUI?
How actions are linked when a button is clicked
How do you capture the overall structure?
You will learn all of these things.
I recommend this to anyone who wants to create their own cool program using Python. ^^
of course, I also code for free !
YouTube Channel 📺 By subscribing to the Nado Coding channel, you can access various coding-related tips and tutorials faster than anyone else.
I'm Nadocoding, and I run a coding education channel on YouTube. I provide lectures with kind explanations and easy examples so that anyone can study coding in a fun and simple way. Shall we code together? 😊
You can do this with Python,
It was such an enjoyable lecture that I thought, 'I can make something too.'
I'm really looking forward to the next lecture.^^
Thank you.