Introduction to Python
Programming
What is Python?
● High-level, interpreted programming
language
● Created by Guido van Rossum in 1991
● Emphasizes readability and simplicity
Why Python?
● General-purpose language used in multiple
domains
● Supports object-oriented, functional, and
procedural paradigms
● Large standard library and community
support
Key Features of Python
● Easy-to-read syntax
● Cross-platform portability
● Dynamically typed
● Vast library ecosystem
Advantages of Python
● Beginner friendly and simple syntax
● Extensive libraries (NumPy, Pandas,
Matplotlib etc.)
● Strong community and open source
● Integration with other languages and tools
● Great for rapid prototyping
Disadvantages of Python
● Slower than compiled languages like C++ or
Java
● Higher memory usage
● Not ideal for mobile app development
● Dynamic typing may cause runtime errors
Python Versions & Installation
● Versions :- Python 3.13 (Current and widely used in
Data Science)
● Installation :-
○ Download from python.org
○ Often pre-installed on Linux/macOS
○ On Windows install via official installer or Microsoft
Store
● IDEs for Python :
○ Jupyter Notebook
○ VsCode
○ PyCharm
Running Python Code
● Interactive Mode:
○ Python shell
○ IDLE
● Script Mode: python filename.py
● Jupyter Notebooks for data science