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

GUI All Connected

Uploaded by

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

GUI All Connected

Uploaded by

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

PYTHON

PROGRAMMING

GUI
PROGRAMMING
BEYOND & BETWEEN

MUTIIBWA GRACE PETER


FACULTY OF COMPUTING AND
INFORMATICS
PYTHON
PROGRAMMING

Understand what GUI’s are

Learn to create interfaces.

Connect interfaces to the

logic.
TKINTE
R
PYTHON PROGRAMMING

What are
GUI’s
GU
I
A graphical user interface (GUI) refers
to the user facing component of an
application.
Basically what users interact with...
(front-end)

TKINTE
R
STRUCTURE OF SOFTWARE
APPLICATIONS
GU
I
The most popular software's you have
seen have whole UI/UIX teams behind
them ..
These people make it possible to
get you glued to whatever you
using..
TKINTE
R
Basics
- syntax, variables, datatypes, basic
arithmetic Intermediate
- data structures (lists, tuples,
dictionaries, sets)
- if statements, loops
Advanced : functions, OOP, file
handling.. WHAT YOU K N O W SO
FAR..
PYTHON PROGRAMMING

How do you
create the
interface
GU
I
Python has a library named Tkinter , it
makes it possible to create GUI’s

Other advanced libraries exist..,


you can explore them..

TKINTE
R
. Import Library

. Create
instance

. Display the interface


GU
I
Components (controls) like labels,
buttons, text boxes or large input boxes
can be added..
Any of them has to be imported
too, then added to the window
separately...
TKINTE
R
They display text on the
LABEL interface..
S
When clicked , the execute some
BUTTON action
S
ENTRY

Single line text


input, used to
collect simple
data from
interface
TEX
T

Multi-line text
input, used to
collect a lot of
data from
interface
PYTHON PROGRAMMING

How do you
connect logic to
the interface
GU
I

Create a simple
interface that saves
the course and
regno..

TKINTE
R
GU
I

Files, come with lots of issues.., in the


modern world, most software use
databases...
Thats improvement you can
addon..

TKINTE
R
GU
I
Created an open source package, that
eases database management.. dstore-orm

Usable for less data intensive


applications...

dstore-
orm
QUESTION
S..

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy