You are on page 1of 4

Courses

Free Courses Interview Questions Tutorials Community

Home /
Tutorial /
Python Frameworks

Python Frameworks
By Manoj 2.9 K Views 13  min read Updated on February 22, 2022

Python is one of the popular and extensively used programming languages. Itis due to the reason, it provides a variety of
frameworks for web development, game development, GUI, desktop application, and many more. In this section of the Python
tutorial, you will come to know about popular frameworks of Python.

Become a Certified Professional

Python Tutorial

Python Version

Python Frameworks

How to Download and


Install Python?

Python Syntax

Python Input and


Output

Comments in Python

Data Types in Python

Python Variables -
Constant, Global & Static
Variables

Numbers in Python

String in Python

Python Lists

Tuple in Python

Python Sets

Python Dictionary

Python Operators

Type conversion in
Python

Python If Else
Statements
Python While Loop

For Loop in Python

Python Functions -
Define & Call a Functions
in Python

Lambda Function in
Python

Python Built in
Functions with Examples

Python Arrays

Python Classes and


Objects

Python Modules

Popular GUI Frameworks


There are several popular Python GUI toolkits. The most popular are as follows:

Qt
GTK
wxPython
Tkinter

1. Qt 
Qt is one of the most popular libraries for cross-platform development. It is the main graphical library for the KDE desktop.
There have several licenses available with the main ones being for commercial and open-source use. If your application is
commercial i.e. closed-source then you must pay for a license to use it. If an application is open-source then you can use
the GPL license; however, you will be unable to commercialize your program without upgrading the license.

It contains a graphical layout utility that permits the user to drag & drop graphical widgets for quick design of the interface.
On the other hand, the developer can hand code the interface layout. It also supports non-GUI features containing SQL dat
abase access, network support, XML parsing. It is written in C++ but python binding is available via PyQt.

2. GTK+
GTK stands for GIMP Tool Kit which is created for the development of the GIMP image software. GTK+ developed into the
graphical library that controls the GNOME desktop. Widgets are the basic building blocks of a GUI application.

GTK+ is open source under the GPL license. When Qt was selected to power the KDE desktop then trolltech had a
proprietary license for it. Because it goes against the free Software concept, GTK was created to permit people to use the
GNOME desktop and GTK applications as open-source software.

GTK does not essentially have a built-in drag & drop interface however the wxGlade utility gives this functionality. The
original GTK was written in C whereas GTK+ is written in C++ using OOP practices and PyGTK is the Python binding for
GTK+.
3. wxPython 
It is a cross-platform toolkit that is used for creating desktop GUI applications. It is a python implementation of wxWidgets
that means programs of python interact with python wrappers of the fundamental C, C++ code. Using wxPython
developers can create applications on Mac OS, Windows, and on different Unix systems.

wxWidgets is a general-purpose cross-platform C++ library. wxPython is an open Source Software that is licensed under the
GPL. Programs that are written with wxPython use the native widgets of an OS.

4. Tkinter 
It is a Python binding to the Tk GUI toolkit. Tk is the default GUI library for Python development due to its addition to the
core Python language. It is the original GUI library for the Tcl language. The Tkinter toolset is quite limited but it is easy to
learn making it build simple GUI programs in Python.

It has three built-in layout managers:

Pack geometry manager – Manage widgets in vertical and horizontal boxes

Grid geometry manager – Put widgets in a two-dimensional grid

Place geometry manager – Put widgets on their containers using absolute positioning.

Looking to develop Machine Learning and Deep Learning models? Head on to our blog on Python Libraries for Machine
Learning.

JPython: A Combination of java and python


It is completely written in Java by Jim Hugunin. Programmers of python can use their python information in Java-based
development environments and also programmers of java can use the python scripting language as a way to control their
Java systems and to test libraries etc.

The JPython installation includes a number of parts:

jpython: The equivalent of the Python program


jpythonc: It acquires a JPython program and then compiles it to Java class files. The resulting Java class files can be used
as any Java class file. For example as servlets or as beans.
A set of modules that provide the JPython user with the huge majority of the modules in the standard Python library.

Using JPython is very similar to using Python:

~/book> jpython

 JPython 1.0.3 on java1.2beta4

 Copyright 1997–1998 Corporation for National Research Initiatives

 >>> 2 + 3

Output

This blog will help you get a better understanding of Automate Your Coding with Python!


Previous Next

Course Schedule

Name Date

2022-05-07 2022-05-08

Python Course View Details


(Sat-Sun) Weekend batch

2022-05-14 2022-05-15

Python Course View Details


(Sat-Sun) Weekend batch

2022-05-21 2022-05-22

Python Course View Details


(Sat-Sun) Weekend batch

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment

Name * Email *

Post Comment

Browse Categories

Master Program
Big Data
Data Science
Business Intelligence
Salesforce
Cloud Computing

Mobile Development
Digital Marketing
Database
Programming
Testing
Project Management

Website Development

Find Python Training in Other Regions

Chennai Jersey City Dubai Los Angeles San Francisco Singapore Toronto Bangalore Chicago Houston

Hyderabad London Melbourne New York San Jose Sydney Atlanta Austin Boston Charlotte Columbus

Dallas Denver Fremont Irving Mountain View Philadelphia Phoenix San Diego Seattle Sunnyvale

Washington Ashburn Kochi Kolkata Pune Noida Jaipur Delhi Gurgaon Mumbai Lucknow Gorakhpur

Ahmedabad Vizag Chandigarh Coimbatore Trivandrum

You might also like