Tkinter Python Tutorial Python GUI Programming Using Tkinter Tutorial Python Training | Desktop App смотреть онлайн
This video on Tkinter tutorial covers all the basic aspects of creating and making use of your own simple Graphical User Interface (GUI) using Python. It establishes all of the concepts needed to get started with building your own user interfaces while coding in Python.
#PythonGUI #GUITkinter #GUI #tkinter
Tkinter Tutorial:
=========================
Python Tkinter correct pronunciation:
The Tkinter module “Tk interface”
Which means it can't be Tea Kinter beacause the T and K are grouped together, it must be Teakay-inter.
Python provides standard library for creating GUI
Creating Desktop based application
Step :
1) import Tkinter module
2) Main window
3) add widgets like button, label, frames, choice box & etc..
4) Call one or other event on the widgets
Lets create Python Hello World to Tkinter libray
import tkinter as tk # Python 3 My current PYthon versin is 3
#import Tkinter as tk # for Python 2
root=tk.Tk()
window=tk.Label(root, text="Hello World tkinter Module")
window.pack()
root.mainloop()
Explanation:
=============
1) tkinter module contains Tk toolkit, its always to be imported.
import tkinter as tk
We have imported tkinter by renaming it into tk
2) root=tk.Tk()
to intialize tkinter we have to create Tk root widget,
root is window which contains title bar and other feature provided by window manager
The root has to be created before any other widgets(like label or button etc)
There can be only one root widget
3) window=tk.Label(root, text="Hello World tkinter Module")
Label widget
First parameter "root" : label call is name of parent window, in our python application root.
So our label widget is child of "root" widget
text parameter specifies Message or text to be
shown.
4) window.pack()
pack method responsible for Tk module to fit the size of the window to the given Widgets(In my case i have label only).
5) root.mainloop()
window will not appear untill we enter the tkinter event into loop.
In our case, our python script will remain in the event loop untill we CLOSE the window.
Tkinter Widgets:
Button :
Canvas : used to draw the canvas on the window
CheckButton:
Entry: Used to display single line text field/input field.
(To accept input values from the user)
Label: Display some text or message or information
ListBox: Used to display a list of options
Frame : Container, another widgets can be added to the Frame and can be organized
Menu: add menu items
MenuButton: Display the menu items
RadioButton:
Scrollbar :For scroll the window
Message: to display the message box
Text: Used to display Multi line text field/input field.
Scale: Work with Slider
LabelFrame: Container widget
Spinbox: To select from options of values
PanedWindow: Container, for horizontal or vartical panes
Toplevel : To create separeat window container
MessageBox: to display message box
Dialog: to show warning
and etc.... python tutorial,python,python for beginners,python tutorial for beginners,learn python,python crash course,python 2020,python tutorial for beginners full,python (programming language),python basics,python course,python from scratch,python full course,python language,python programming,python programming language,python programming tutorial,getting started with python,learn python programming,web development,python projects,machine learning,source code python tutorial,python,python for beginners,python tutorial for beginners,learn python,python crash course,python 2020,python tutorial for beginners full,python (programming language),python basics,python course,python from scratch,python full course,python language,python programming,python programming language,python programming tutorial,getting started with python,learn python programming,web development,python projects,machine learning,source code,
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Tkinter Python Tutorial Python GUI Programming Using Tkinter Tutorial Python Training | Desktop App» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.