You are on page 1of 11

Presentation On Python

Python

Submitted By: Submitted To:


Nitesh Singh Mr. Nafeesh Ahmad
Technology Python Programming

Start Date 1 September 2021

End Date 13 October 2021

Mode Of Training Online

Training From Internshala

Duration 6 Week
Content:-
 Introduction to Python
 Data Types & Operator
 Tuple & List
 Loops & Conditional Statements
 Connecting to SQLite Database
 Developing a GUI with PYQT
Introduction To Python
Python is a high-level object-oriented programming language that was
created by Guido van Rossum. It is also called general-purpose programming
language as it is used in almost every domain we can think of as mentioned
below:
 Web Development
 Software Development
 Game Development
 AI & ML
 Data Analytics

 
Data Types & Operator
Data types are the classification or categorization of data items. Python supports
the following built-in data types:-
 Numeric
 Sequence Type
 Boolean
 Set
 Dictionary

Operators are used to perform operations are the main building block of any
programming language. Operators allow the programmer to perform different kinds
of operations on operators value.
Tuple & Lists
Tuples are used to store multiple items in a single variable.
Tuple is one of 4 built-in data types in Python used to store collections of data, the
other 3 are List, Set, and Dictionary, all with different qualities and usage.
A tuple is a collection which is ordered and unchangeable.
Tuples are written with round brackets.

Lists are used to store multiple items in a single variable.


Lists are one of 4 built-in data types in Python used to store collections of data, the
other 3 are Tuple, Set, and Dictionary, all with different qualities and usage.
Lists are created using square brackets.
Loops And Conditional Statements
Loop is a statement that contains instructions that continually repeats until a
certain condition is reached.
Loops help us remove the redundancy of code when a task has to be repeated
several times. With the use of loops, we can cut short those hundred lines of code
to a few. Suppose you want to print the text “Hello, World!” 10 times. Rather than
writing a print statement 10 times, you can make use of loops by indicating the
number of repetitions needed.

Conditional Statement in Python perform different computations or actions


depending on whether a specific Boolean constraint evaluates to true or false.
Conditional statements are handled by IF statements in Python.
Connecting To SQLite Database
SQLite is an in-process library that implements a self-contained, serverless, zero-
configuration, transactional SQL database engine. It is a database, which is zero-
configured, which means like other databases you do not need to configure it in
your system.
SQLite engine is not a standalone process like other databases, you can link it
statically or dynamically as per your requirement with your application. SQLite
accesses its storage files directly.

 SQLite does not require a separate server process or system to operate


(serverless).
 SQLite comes with zero-configuration, which means no setup or administration
needed.
 A complete SQLite database is stored in a single cross-platform disk file.
 SQLite is very small and light weight, less than 400KiB fully configured or less
than 250KiB with optional features omitted.
 SQLite is self-contained, which means no external dependencies.
Developing a GUI With PYQT
PyQt is a GUI module for the Python programming language. It allows users to create programs with a
good user interface and simply and easily.
It is implemented as a Python extension module it contains Pyqt GUI library, which is written in C++.
Pyqt is powerful, looks native on all the major platforms, and has probably the biggest community.
PyQt implements the most popular Qt library, and so if you are familiar with Qt development process
of creating the application in another language, you may already be familiar with Qt. Pyqt module
creates the possibility of developing applications in a unique and simple way.
In python there are two different bindings present: PyQt is older and more mature, but it’s only free
if your application is open source, while PySide is newer and more permissively licensed (LGPL). I
have been referring the main Qt docs a lot and other document related to the module – but both PyQt
and PySide’s docs contains useful information.
You should have a basic understanding of some of the basic concepts, when it comes to GUI
programming, with Python and Qt. In Pyqt module, I intend to put what we learned so far to use but
also want to show you some new things related to this module that will make your application more
user-friendly. Speaking of the application, in this pyqt module, we are going to be writing a GUI
application from scratch, and I thought it might be a good idea to write a simple script in the form of
application.
u … .
k Yo
T han

You might also like