How to create a simple screen using Tkinter?

PythonTkinterServer Side ProgrammingProgramming

 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

raja
Published on 16-Mar-2021 15:39:49
Advertisements