Python Library: tkinter

built-in Python library for UI

Library resources
PyPI ---
Github https://github.com/python/cpython/blob/3.10/Doc/library/tkinter.rst
Documentation https://docs.python/3/library/tkinter.html

Getting Started

Built-in, so no pip needed.

import tkinter as tk

28 Sep 2022

Learning

input dialogs

Snippets

get int value from user

from tkinter import simpledialog

simpledialog.askinteger("Input","Enter your age")

get string value from user

from tkinter import simpledialog

simpledialog.askstring("Input","Enter your name")

Resources

links

social