Lecture-1 Python Intro
Lecture-1 Python Intro
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