- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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
Advertisements