
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
How to create a simple screen using Tkinter?
We will create a simple screen using the Tkinter library.
Algorithm
Step 1: Import tkinter. Step 2: Create an object of the tkinter class. Step 3: Display the screen.
Example Code
import tkinter as tk window = tk.Tk()
Output
- Related Articles
- How to create a Splash Screen using Tkinter?
- How can I create a simple message box in Tkinter?
- How to create a simple counter Using ReactJS?
- How to create a timer using tkinter?
- How to build a simple GUI calculator using tkinter in Python
- Simple registration form using Python Tkinter
- How to create a password entry field using Tkinter?
- How to create transparent widgets using Tkinter?
- Simple GUI calculator using Tkinter in Python
- How to center a window on the screen in Tkinter?
- How to create a simple MySQL function?
- Create a simple calculator using Java Swing
- How to get the screen size in Tkinter?
- How to display full-screen mode on Tkinter?
- Python to create a digital clock using Tkinter

Advertisements