You are on page 1of 13

Python Programming

- An Industry Perspective
Dr. Mani Madhukar
Ishan Vaid
Agenda
1. Introduction

2. Installation of Python

3. Variable and Data Types

4. Operators

5. Conditional Statements

6. Looping

7. Control Statements

8. String Manipulation
What is Python
Python is a general purpose, created by Guido Van Rossum, high level
programming language, which makes coding easy and comfortable by
simplifying the task.
Python, as a high level programming language, allows you to focus on core
functionality of the application by taking care of common programming
tasks
Python is interpreted programming language which is being used by the
developers worldwide to develop various things like websites, machine
learning algorithms and also simplifying and automating day to day tasks.
There are two ways to use the interpreter-
Interactive mode & Script mode

3
Why do we need to know Python
▪ Python has a vibrant developer community across the world, helping
resolving user issues, besides the content is well documented and easy
to understand and implement.
▪ Python is used for numerous Machine Learning like fingerprints
identification, predicting stocks or spam detection, Browser Automation
etc.
▪ Let’s say you have a manual task to Automate, Python can help you do
that. Actually you use selenium with Python to automate your browser to
do social media posts.
▪ Netflix is using Python for automation and monitoring tools. Netflix also
uses it to make sure that movies stream without stopping.
▪ Python because of being easy, scalable, mature, high performance and
coupled with ready made libraries is ideal choice for Fintech including
investment banking and hedge fund industry, banks use Python to solve
quantitative problems for Pricing, risk management, trade management
etc.
▪ Python seems to have solutions to most of the problems faced by the
financial industry when we look at analytics, regulation, compliance and
data which are made easy by abundance of libraries in Python
Why do we need to know Python
Python is also used in GIS programming. It is used as a scripting language
for ArcGIS, and for Quantum GIS.
Python is true general purpose language. For aspiring Data Scientists,
Python is probably the most important language to learn because of its rich
ecosystem.
Python's major advantage is its breadth. For example, R can run Machine
Learning algorithms on a preprocessed dataset, but Python is much better
at processing the data.
How is Python used in Development

1.App development : Python is one of the few languages that are not
native to the Java world and yet can be used to develop apps easily for
the android platform. Kivy is a framework available at Kivy: Cross-platform
Python Framework for NUI that lets a developer design and test touch
friendly applications for android. The is Python support extension
available in Eclipse IDE for this purpose.

2.Web Development : There are a number of python frameworks, most


notable among them being django, which are optimized to maximize the
potential of web via the use of python. With Django templating
system(DTL), we can use loops, conditional statements etc. inside HTML
document that adds dynamic nature to web pages.

3.Backend development : Python is a very powerful language with a lot


of libraries built into it. These can be used to achieve nearly any activity
that is needed via python, from cryptanalysis to GUI applications
Python for Web development

Python is great for web development. Just to mention one, Django which is
one of the most popular framework. Its feature is that within a single
package, you get everything you need to build a web application from low -
to - high end. It will be worthy to add that such a popular web application
that Google, Instagram, Youtube and even Quora is made on Python.

Thanks to its various libraries, Python is a great language for scientific


computing.
Here is a list of few most popular scientific libraries and tools.
•Astropy http://www.astropy.org
•Biopython http://biopython.org
•Pandas http://pandas.pydata.org
•matplotlib https://github.com/matplotlib/ma...
•NumPy http://www.numpy.org

7
Features of Python

➢ Great Libraries Support

➢ Beautiful Code

➢ Open source

➢ Object oriented

➢ Readable code
Installation

• Visit Python.org in Browser


Installation

Click on Download and select your OS


PyCharm
PyCharm
First program

print(‘hello world’)

You might also like