Lec 1, Introduction To Python PDF
Lec 1, Introduction To Python PDF
PCC-EE 602
Shri Nirmal Murmu
Department of Applied Physics
University of Calcutta
Course Outcomes
• At the end of this course, students will be able to learn about
❖ Guido van Rossum, the creator of the Python language, named the language after the BBC show
"Monty Python's Flying Circus". He doesn't particularly like snakes that kill animals for food by
winding their long bodies around them and crushing them.
DEPARTMENT OF APPLIED PHYSICS,
EVEN SEMESTER
UNIVERSITY OF CALCUTTA
Popularity of Python
2. Python scripts
• What if we want to run more than a few lines of code?
• Then we must write text files in .py
DEPARTMENT OF APPLIED PHYSICS,
EVEN SEMESTER
UNIVERSITY OF CALCUTTA
Features of Python
• Simple
• Python is a simple and minimalistic language. Reading a good
Python program feels almost like reading English, although very
strict English!
• Allows to concentrate on the solution to the problem rather than
the language itself.
• Easy to Learn
• Has an extraordinarily simple syntax, as already mentioned.
Examples:
• Dog
• Attributes: breed, color, hungry, tired, etc.
• Behaviors: eating, sleeping, etc.
• Bank Account
• Attributes: account number, owner, balance
• Behaviors: withdraw, deposit