0% found this document useful (0 votes)
4 views

python ppt

The document provides an introduction to Python, a high-level programming language created by Guido van Rossum in 1991, named after Monty Python's Flying Circus. It highlights the advantages of learning Python, including its concise syntax and efficiency in integrating systems, as well as its various versions, with the latest being Python 3.12 released on October 2, 2023. Additionally, it outlines the two modes for using the Python interpreter and lists standard data types available in Python.

Uploaded by

satyajit010101ss
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

python ppt

The document provides an introduction to Python, a high-level programming language created by Guido van Rossum in 1991, named after Monty Python's Flying Circus. It highlights the advantages of learning Python, including its concise syntax and efficiency in integrating systems, as well as its various versions, with the latest being Python 3.12 released on October 2, 2023. Additionally, it outlines the two modes for using the Python interpreter and lists standard data types available in Python.

Uploaded by

satyajit010101ss
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Introduction to Python

Suma Debsarma
Department of Applied Mathematics
University of Calcutta
Python – a mysterious name
Python is a widely used general-
purpose, high level programming
language. It was initially designed by
Dutch programmer Guido van Rossum
in 1991.
The name Python comes from an old
BBC television comedy sketch series
called Monty Python’s Flying Circus.
When Guido van Rossum was creating
Python, he was also reading the scripts
of Monty Python. He thought the name
Python was appropriately short and
slightly mysterious.
Why should we learn Python?

 Python is a higher level programming language.


 Its syntax allows programmers to express concepts
in fewer lines of code.
 Python is a programming language that lets you
work quickly and integrate systems more efficiently.
 One can plot figures using Python.
 One can perform symbolic mathematics easily using
Python.
 It is available freely online.
Python versions
Python was first released on February 20, 1991 and later on
developed by Python Software Foundation.

Major Python versions are – Python 1, Python 2 and Python 3.

• On 26th January 1994, Python 1.0 was released.

• On 16th October 2000, Python 2.0 was released with many new
features.

• On 3rd December 2008, Python 3.0 was released with more


testing and

includes new features.

Latest version - On 2nd October 2023, Python 3.12 was released.

To check your Python version

i) For Linux OS type python -V in the terminal window.

ii) For Windows and MacOS type import sys print(sys.version) in


the interactive shell
Running Python
There are two modes for using the Python interpreter:
1) Interactive Mode
2) Script Mode

Options for running the program:


• In Windows, you can display your folder contents, and
double click on madlib.py to start the program.
• In Linux or on a Mac you can open a terminal window,
change into your python directory, and enter the
command python madlib.py
Data Types

Python has various standard data types:


 Integer [ class ‘int’ ]
 Float [ class ‘float’ ]
 Boolean [ class ‘bool’ ]
 String [ class ‘str’ ]
Thank You

You might also like