INTRODUCTION TO PYTHON
Dr.V.V.Sumanth Kumar
Principal Scientist
ICAR- NAARM
Hyderabad
Agenda
• What is python
• Why python is popular
• History of python
• Who is using python today
• Roadmap of python
• Python installation
What is Python?
• Python is general programming language which is high level, easy to learn
and can initialize dynamically.
• It is a interpreter language
• Python is known as beginner friendly language.
• Object oriented: python supports the object oriented techniques of the
programming
• Python is great language for the beginner level programmers and support
the development of wide range of applications.
continue
High level:
• Python is a high-level programming language that makes it easy to learn,
• It doesn’t require you to understand all the details of the system to develop programs
efficiently.
General purpose:
• Python is general purpose language, used in various domains including :
• Science( bio informatics)
• Web Application development
• System administration(unix, web logic)
• Testing
• Automation
• Machine learning and AI
• Big data applications and software's etc.
Why Python is Popular?
continue
• Free: As python is open sources language ,as it is free can be used by everyone
• Easy: It is of high features, easy syntax's liked from beginners to advances level people.
• Applications: The python has way to develop many applications from small to AL and many
more different fields
• Support and libraries: The python has many libraries and supporting modules to develop
applications and helps to reduces code with use of libraries and many constant developers uses
this to achieve a greater success
• Garbage collector: avoids memory leaks
History of the Python
• Python was developed by the Guido Van Rossumat at CWI, Netherlands
• Python was introduced in 1989
• The first version of the python is python (1.0) introduced in 1991
• It is scalable, functional and object oriented
• Used by big companies even google IBM etc.
• The second version(python 2.0) was introduced on 16 oct 2000
• The third version was introduced on 3 dec 2008
• Currently python version is 3.11.0
Who uses python today?
• IBM, google, intel, cisco and many other companies uses python for testing
hardware and software and for web searches
• Many national security companies uses cybersecurity python for encryption and
decryption of information,.
• NASA and ISRO uses python for many high level calculations and scientific
calculations methods using python.
• In agriculture sectors python a reason for developing fields such as agri mapping
surveying crop, Image processing, decision making and estimations of spray and
yield etc
Roadmap of python
HOW TO DOWNLOAD PYTHON
• Some following steps are required to download python
• Any version can be downloaded from python software foundation website
• Step -1 go to google browser and type https://www.python.org
• Website https://www.python.org/downloads/ to download the latest version.
Step-2 Click on download button
Step-3 Downloading python can be seen below
Step-4: After downloading
• Double click on the downloaded software an set up box is visible
Step -5 tick the last option
After ticking last option
Go to customize
installation.
Step-6: select all buttons and press next
Step -7: press install button
Step-8: installing process of python can be seen
Step -9: the python setup is completed
Step -10 to check whether python is installed
• Click on windows symbol type cmd(command prompt) open it
• Just type python --version
• Press enter , then you can see version ,now the python installation completed
Step-11: python installed
• To check python is working you can write hello world program it can be done in two ways:
• First way:
• Open cmd prompt(windows+r) type cmd and press enter.
• Type python and press enter symbol, the three arrow is visible(>>>)
• Now u can give the input,
• Code :print(“hello world”)
• Press enter, the output is python code is seen.
• Second way:
Press windows symbol and search IDLE python and press enter.
>>> the symbol is visible then enter the code
Code: print(“hello world”)
The output is given as hello world
• Even in idle general python programs can be executed .