python
python
•Interpreted Language
•Python executes code line by line (no need for compilation).
•Cross-Platform
•Python runs on Windows, macOS, Linux without changes.
•Supports Multiple Programming Paradigms
•Python supports procedural, object-oriented (OOP), and functional programming.
Large Standard Library
• Python has built-in modules for tasks like file handling, networking, and web development.
• Memory Management
• Python has automatic garbage collection, so you don’t need to manually free memory.
• Used in Many Fields
• Web Development (Django, Flask)
• Data Science (Pandas, NumPy)
• Machine Learning (TensorFlow, Scikit-learn)
• Automation (Scripting & Bots)
Popular Python Libraries with Examples
1. math (Mathematical Operations)
Used for: Performing mathematical calculations.
random (Generating Random Numbers)
Used for: Generating random numbers and choices.
datetime (Working with Date & Time)
Used for: Handling dates and time.
Third-Party Libraries (Require Installation)
6. numpy (Numerical Computing)
Used for: Handling arrays, matrices, and numerical calculations.
7. pandas (Data Manipulation)
Used for: Handling and analyzing data in table format.