B.
Tech Internship-1 Presentation-2019
Technology
Science&&Technology
PYTHON
By
InstituteofofScience
SHIVA BRATA ACHARYA Roll- 201840506
NationalInstitute
UNDER THE GUIDANCE OF
Dr. Santosh Kumar Kar
National
SHIVA BRATA ACHARYA <201840506> 1
B.Tech Internship-1 Presentation-2019
TOPICS TO BE DISCUSSED
Technology
Science&&Technology
Introduction
Objective
InstituteofofScience
Advantages
Course details
Benefit
Future scope
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 2
B.Tech Internship-1 Presentation-2019
INTRODUCTION
Technology
Science&&Technology
• Python programming language was developed in
1991 by Guido Van Rossum and is the most popular
language in the world.
InstituteofofScience
• Python is a general purpose Programming Language
that is often applied in scripting roles
NationalInstitute
• Python is also called as Interpreted Language
National
SHIVA BRATA ACHARYA <201840506> 3
B.Tech Internship-1 Presentation-2019
INTRODUCTION
Technology
Science&&Technology
• In IEEE Spectrum’s sixth annual interactive ranking
of the top programming languages(2019). Python
tops the list
InstituteofofScience
• Python is Easy To Use and having multiple Libraries
and Frameworks.
• Python is Portable and Extensible. Python allows
NationalInstitute
programming in Object-Oriented and Procedural
paradigms.
National
SHIVA BRATA ACHARYA <201840506> 4
B.Tech Internship-1 Presentation-2019
Course Details
Technology
Science&&Technology
• Installation of Python
• Running of Python
• Using variable in Python
InstituteofofScience
• Basic of Programming in Python
• Principle of Object oriented programming
• Connecting to SQlite Database
NationalInstitute
• Developing a GUI with PYQT
• Application of Python in various modules
National
SHIVA BRATA ACHARYA <201840506> 5
B.Tech Internship-1 Presentation-2019
Variable in Python
Technology
Science&&Technology
• A Python variable is a reserved memory location
to store values.
• Every value in Python has a datatype. Different
InstituteofofScience
data types in Python are Numbers, List, Tuple,
Strings, Dictionary, etc.
• Variables in Python can be declared by any
name or even alphabets like a, aa, abc, etc.
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 6
B.Tech Internship-1 Presentation-2019
Data Type
Technology
Science&&Technology
• Number- Python supports integers, floating-
point numbers and complex numbers. They are
defined as int , float , and complex classes
in Python.
InstituteofofScience
• String- A string in Python is a sequence of
characters. It is a derived data type. Strings are
immutable.
• List- A list is a data structure in Python that is a
NationalInstitute
mutable, or changeable, ordered sequence of
elements.
• Tuples- Tuples are used to store multiple items
in a single variable.
National
SHIVA BRATA ACHARYA <201840506> 7
B.Tech Internship-1 Presentation-2019
Basic of programming of Python
Technology
Science&&Technology
• Conditionals- Conditional Statement in Python perform
different computations or actions depending on whether a
specific Boolean constraint evaluates to true or false.
InstituteofofScience
• Loops- A loop is used for iterating over a sequence. It
has two types of loops, for loop and while loop.
• Functions- Function is a block of code which only runs
NationalInstitute
when it is called. It can pass data, known as parameters,
into a function. A function can return data as a result.
National
SHIVA BRATA ACHARYA <201840506> 8
B.Tech Internship-1 Presentation-2019
Principles of object oriented programming
Technology
Science&&Technology
• Class- A class is a code template for creating objects.
In python a class is created by the keyword class . An
object is created using the constructor of the class.
• Inheritance- Inheritance allows us to define a class
InstituteofofScience
that inherits all the methods and properties from another
class. In python it has two types Multiple
Inheritance. Multilevel Inheritance.
• Magic Methods- These are the special methods that
NationalInstitute
start and end with the double underscores. They are also
called dunder methods. Magic methods are not meant to
be invoked directly by you, but the invocation happens
internally from the class on a certain action.
National
SHIVA BRATA ACHARYA <201840506> 9
B.Tech Internship-1 Presentation-2019
Developing GUI using PYQT
Technology
Science&&Technology
• PyQt is a Python binding for Qt, which is a set of C++
libraries and development tools that include platform-
independent abstractions for Graphical User
Interfaces (GUI).
InstituteofofScience
• It has networking, threads, regular expressions, SQL
databases, SVG, OpenGL, XML, and many other
powerful features.
• PyQt is free software developed by the British firm
NationalInstitute
Riverbank Computing.
National
SHIVA BRATA ACHARYA <201840506> 10
B.Tech Internship-1 Presentation-2019
Objective of the Course
Technology
Science&&Technology
• Master the fundamentals of writing Python
programs.
• Learning core Python scripting elements such as
InstituteofofScience
variables and flow control structures.
• Working with lists and sequence data
• Using Python functions to facilitate code reuse
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 11
B.Tech Internship-1 Presentation-2019
ADVANTAGES
Technology
Science&&Technology
1. Learning is easy
2. Involves less code
3. Syntax is much easier
4. Amount of additional open source libraries
InstituteofofScience
5. Python supports Object Oriented style.
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 12
B.Tech Internship-1 Presentation-2019
DISADVANTAGES
Technology
Science&&Technology
1. Slow speed.
2. Not used in mobile development.
3. Difficulty in reading codes.
InstituteofofScience
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 13
B.Tech Internship-1 Presentation-2019
Future Scope
Technology
Science&&Technology
• Python programming language, to be the most
promising career in technologies, industry.
Opportunities in the career of python are
increasing tremendously in the world.
InstituteofofScience
• Since Python has simple codes, faster
readability capacity, significant companies are in
demand in python language.
NationalInstitute
• It supports various frameworks such as Flask
and Django by which anyone can make web
National
applications very easily.
SHIVA BRATA ACHARYA <201840506> 14
B.Tech Internship-1 Presentation-2019
REFERENCE
Technology
Science&&Technology
• BOOKS
Learning Python by ‘Mark Lutz’, Second Edition
InstituteofofScience
• WEBSITES
https://pythonforbeginners.com
https://www.tutorialspoint.com/
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 15
B.Tech Internship-1 Presentation-2019
Technology
Science&&Technology
InstituteofofScience
Thank You !!
NationalInstitute
National
SHIVA BRATA ACHARYA <201840506> 16