0% found this document useful (0 votes)
15 views8 pages

Introduction to Python Programming

Python is a high-level, interpreted, object-oriented programming language created by Guido Van Rossum in 1991. It features simplicity, dynamic typing, and cross-platform compatibility, making it suitable for various applications including web, desktop, mobile, and machine learning. Python has multiple versions and flavors, with installation instructions available on python.org.

Uploaded by

hari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views8 pages

Introduction to Python Programming

Python is a high-level, interpreted, object-oriented programming language created by Guido Van Rossum in 1991. It features simplicity, dynamic typing, and cross-platform compatibility, making it suitable for various applications including web, desktop, mobile, and machine learning. Python has multiple versions and flavors, with installation instructions available on python.org.

Uploaded by

hari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Python

Python is a high-level, interpreted , object-oriented , platform indpendent


programming language.

High - Level means any language which is in human readable form.

Interpreted means execution of the programs happens line by line.

Programming Language means a medium to communicate or interact with


the system.

Guido Van Rossum started python in the year 1991.

Features of Python :
Simple and easy to learn.

Dynamically Typed Language.

Freely downloadable software.

Object Oriented.

Extensible Language.

Cross platform language or platform independent language or portable


language.

Applications of Python :
Web Applications (GMail) ⇒ Django, flask…….

Desktop Applications (Chrome) ⇒ Tkinter, kivy…….

Mobile & Gaming Applications ⇒ PyGame, Panda3d…….

Machine Learning, Artificial Intelligence, Data Science and Data Analytics


⇒ numpy, pandas, scipy…….

Testing Applications ⇒ Selenium…….

Python 1
Flavors of Python
1. CPython

2. Jython / Jpython

3. IronPython

4. RubyPython

5. PyPy
-
-
-

Versions Of Python :
1. Python Version 1.x.x introduced in JAN 1994

2. Python Version 2.x.x introduced in October 2000

3. Python Version 3.x.x introduced in December 2008

Installation of Python:
1. Go to [Link]/downloads and download the latest version of python.

Python 2
2. Scroll and click on Python version 3.12.4

3. Scroll and click on Windows installer (64 bit) .

Python 3
4. After downloading is complete, open the exec file.

5. Select Add [Link] to path and click on Install Now

Python 4
Python 5
6. After installations are done, open command prompt and check weather the
python has been installed successfully by prompting python --version

IDLE :
Python provides its own editor called as IDLE.

IDLE stands for Integrated Development Learning Environment.

The extension of all python programs is .py

Python 6
Intoduction to Library Functions
Library Functions are the functions, whose task is predefined.

Library functions got classified into 3 types:

i. Keywords / Reserved Keywords

ii. Operators / Special Symbols

iii. Inbuilt Functions

KeyWords / Reserved Words


In Python some words are reserved to represent some meaning or
functionality.

These standard words can be accessed but cannot be modified.

In Python 3.5 version we have 33 keywords


In Python 3.7+ version we have 35 keywords

The following are the keywords:

Python 7
True, False, None

and, or, not, is

if, elif, else

while, for, break, continue, return, in, yield

try, except, finally, raise, assert

import, from, as, class, def, pass, global, nonlocal, lambda, del, with

async, await

In order to get all the keywords of python execute the below cod

⚠️ All the keywords are in lowercase

Python 8

You might also like