Presentation on Python
Python
Submitted By : Suraj Kumar Mehta Submitted To : Mrs. Shweta kumari
Roll no. : 21B510712
Technology Python programming
Start date : 16 JAN 2023 End date : 16 FEB 2023
Mode of Training Offline
Duration 30 days
Training company BRIZTECH INFOSYSTEMS PVT.LTD
Content
MODULES DAY
❑ Introduction to Python and Computer programming 1-2
❑ Data types and Variable 3
❑ Operators 4
❑ Control statement 5-8
❑ Collections 9-10
❑ Function 11
❑ OOPs 12-18
❑ Numpy 19
❑ Data Visualization (MatPlotLip) 20-21
❑ GUI Programming( Tkinter) 22-27
❑ Project 28-30
Introduction to python
• Python is an open source, general purpose programming language that is easy to
learn and powerful.
• It is an interpreted language , which do not need to be compiled to run.
• Python is high level language that will make a programmer focus on what to do
instead of how to do.
• Writing programs in python is less time consuming compared to any other
languages.
Data Types
✓ Data type is used identify the type of data.
✓ Data type are the type of data stored in python program.
✓ Python supports the following built in data types.
• Numeric
• Sequence type
• Boolean
• Set
• dictionary
Decision making
Decision making statement contain conditions that are evaluated by the
program. If the condition is true , then a set of statements are executed
and if the condition is false then another set of statements are executed.
There are many decision making statements in Python such as :
• if statement
• if else statement
• Nested if statement
• if-elif ladder
Python Loops
Loops in python allow us to execute a group of statements several times.
Loop control statements change the execution from its normal sequence.
In Python , we generally have two loops statements :
• for and for – else loop
• while and while-else Loop
Functions
A function is a block of code /statements which only runs when it is
called. you can pass data into a function, known as parameters . A
function can return data as a result.
In python a function is defined using the def keyword :
def fun():
print(“ HELLO FROM A FUNCTION”)
fun()
OOPs
OOPs, refers to Object Oriented Programming and its deal with objects
and their properties. Oops is about creating objects that contain both
data and function in a single unit.
➢ Class
Class is a user define datatype that binds data members and member
functions ,which can be accessed and use by creating object of that
class.
➢ Object
An Object is a instance of class. whenever class is defined , no memory
is allocated but when object is created memory is allocated of that
class.
Python GUI programming
Python provides the standard library Tkinter for creating the graphical
user interface ( GUI ) for desktop based applications. Developing desktop
based application with python Tkinter is not a complex task.
Python Project
Bill Management
➢ In this project, I have built a GUI based
software using python Tkinter in which the
user will get the option to enter the quantity
after that the user will choose which items ,
this software will calculate the price by their
numbers of quantity and display the Bill of
those items.
Font End (Language used)
➢ Front – End is built using Python Tkinter . Here you will see the menu and get the option
to choose items present on the menu and also you see the display button after clicking the
button this software will generates your bills of selected items
Back End
➢ Back – End is built using Python programming . Here you will generates your bills of
selected items just in one click.
Conclusions
➢ The “BILL MANAGEMEENT SYSTEM” in
python is a GUI project is developed using
python Tkinter which display the menu of
the restaurant, takes orders from the
customer and generates a bill. This system
helps in maintaining the order and fast billing