What is Python?
History and Features
Installing Python (Windows/Mac/Linux)
Setting up IDE (VSCode, PyCharm, Jupyter, etc.)
Running Python scripts: IDE vs Command Line vs Notebook
Python Syntax & Indentation
Comments and Docstrings
Variables and Constants
Keywords and Identifiers
Input/Output (input()
, print()
)
Numbers, Strings, Booleans
Lists, Tuples, Sets, Dictionaries
Type Checking (type()
) and Conversion (int()
, str()
)
Arithmetic, Assignment, Comparison
Logical, Bitwise, Identity, Membership
Operator Precedence
Conditional Statements: if
, elif
, else
Loops:
for
loop
while
loop
break
, continue
, pass
Nested Loops and Conditions
Defining and Calling Functions
Arguments and Return Values
Default and Keyword Arguments
*args
and **kwargs
Lambda Functions
Recursion
Common Built-in Functions (len()
, range()
, enumerate()
, zip()
, etc.)
Importing Modules (import
, from
, as
)
Math, Random, Datetime, OS, etc.
List Operations & Methods
Tuple Immutability & Use Cases
Set Properties & Methods
Dictionary Key-Value Pairs
Classes and Objects
__init__()
Method
self
Keyword
Inheritance
Encapsulation & Polymorphism
Special (Magic) Methods like __str__
, __len__
Try-Except Block
else
, finally
Handling Multiple Exceptions
Raising Exceptions
Custom Exceptions
Reading and Writing Files
File Modes (r
, w
, a
, b
)
Working with with
statement
CSV, JSON basics
pip
and Package Installation
Introduction to NumPy
, Pandas
, Matplotlib
Creating Virtual Environments
Using assert
Basic Unit Testing with unittest
Debugging Tools in IDE
List Comprehensions & Generator Expressions
Decorators
Iterators and Generators
Context Managers
Modules & Packages
Working with APIs (e.g., requests
)
To-do list CLI app
Simple calculator
Contact book with file storage
Weather app using API
Mini-Quiz Game
Data analysis on CSV using Pandas
Books and Documentation
Online Platforms (HackerRank, LeetCode, W3Schools, Real Python)
GitHub Projects to Follow