0% found this document useful (0 votes)
32 views10 pages

Lecture-1 Python Intro

The document provides an overview of Python including its history, uses, data types and key features. Python was created in the 1990s and named after Monty Python. It is an open source, object oriented, portable and powerful scripting language that is widely used for tasks like system utilities, GUIs, internet scripting, databases and artificial intelligence.

Uploaded by

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

Lecture-1 Python Intro

The document provides an overview of Python including its history, uses, data types and key features. Python was created in the 1990s and named after Monty Python. It is an open source, object oriented, portable and powerful scripting language that is widely used for tasks like system utilities, GUIs, internet scripting, databases and artificial intelligence.

Uploaded by

raghu kiran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Python- Evolution

Lecture 1
Brief History of Python
• Invented in the Netherlands, early 90s by Guido
van Rossum
• Named after Monty Python
• Open sourced from the beginning
• Considered a scripting language, but is much more
• Scalable, object oriented and functional from the
beginning
• Used by Google from the beginning
• Increasingly popular
Python Overview
• Scripting Language
• Object-Oriented
• Portable
• Powerful
• Easy to learn and use
• Mixes good features from Java, Perl and
Scheme
Major Uses of Python
• System Utilities
• GUIs (Tkinter, gtk, Qt, Windows)
• Internet Scripting
• Embedded Scripting
• Database Programming
• Artificial Intelligence
• Image Processing
Guido Van Rossum in 1989.
•  BBC comedy tv show
called Monty Python’s
Fly Circus and Van
Rossum happened to be
the big fan of that show.
So when Python was
developed, Rossum
named the project
‘Python’.
Data Types
• A data type consists of a set of values and a
set of operations that can be performed on
those values.
• A literal is the way a value of a data type
looks to a programmer.
Data Types Examples Explanation Mutable/Immutable?
Strings "Hello!", "23.34" Text - anything between Immutable
" "  becomes string

Integers 5364 Whole numbers Immutable

Floats 3.1415 Decimal Numbers Immutable

Booleans True, False Truth values that Immutable


represent Yes/No

Lists [1,2,3,4,5] A collection of data, Mutable


sits between  [ ]  

Tuples (1,2,3,4,5) A collection of data, Immutable


sits between  ( )  

Dictionaries {"a":1, "b":2, "c":3} A collection of data,  Mutable


sits between  { }  

You might also like