0% found this document useful (0 votes)
3 views9 pages

What is GUI in Python

A GUI, or Graphical User Interface, in Python allows users to interact with applications through visual elements like windows and buttons, using libraries such as Tkinter, PyQt, wxPython, and Kivy. Tkinter is the built-in Python package for creating GUIs, known for its cross-platform compatibility and ease of use. The document also outlines various programs demonstrating the use of different GUI widgets for displaying text, images, buttons, and user input.

Uploaded by

Sourabh Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views9 pages

What is GUI in Python

A GUI, or Graphical User Interface, in Python allows users to interact with applications through visual elements like windows and buttons, using libraries such as Tkinter, PyQt, wxPython, and Kivy. Tkinter is the built-in Python package for creating GUIs, known for its cross-platform compatibility and ease of use. The document also outlines various programs demonstrating the use of different GUI widgets for displaying text, images, buttons, and user input.

Uploaded by

Sourabh Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

What is GUI in python?

A GUI, or Graphical User Interface, in Python refers to a way to create applications with
interactive visual elements like windows, buttons, and menus. Instead of interacting with a
program through text commands, users can use a mouse, keyboard, or touchscreen to interact
with these elements. Python offers several libraries to build GUIs, with Tkinter being the most
common and beginner-friendly option. Other popular choices include PyQt, wxPython, and
Kivy, each offering different features and capabilities. These libraries provide tools to create and
manage the various GUI elements, handle user input, and define the application's behavior.

What is Tkinter?

Tkinter is a Python Package for creating GUI applications. Python has a lot of GUI
frameworks, but Tkinter is the only framework that’s built into the Python standard library.
Tkinter has several strengths; it’s cross-platform, so the same code works on Windows,
macOS, and Linux.
Tkinter is lightweight and relatively painless to use compared to other frameworks. This makes
it a compelling choice for building GUI applications in Python, especially for applications
where a modern shine is unnecessary, and the top priority is to build something functional and
cross-platform quickly.
PROGRAM-01

Object: Displaying Text and Images with Label Widgets.

INPUT:
OUTPUT:
PROGRAM-02

Object: Displaying Clickable Buttons with Button Widgets.

INPUT:

OUTPUT:
PROGRAM-03

Object: Getting User Input with Entry Widgets.

INPUT:

OUTPUT:
PROGRAM-04

Object: Getting Multiline User Input with Text Widgets.

INPUT:

OUTPUT:
PROGRAM-05

Object: Assigning Widgets to Frames with Frame Widgets.

INPUT:
OUTPUT:
PROGRAM-06

Object: Adjusting Frame Appearance with Relief.


INPUT:

OUTPUT:

You might also like