Basics of Python
[Link] and Semantics
- Python syntax, indentation
- Variables and data types (int, float, string, boolean)
2. Basic Operations
- Arithmetic, comparison, logical, and bitwise operators
- Input and Output (input(), print())
[Link] Structures
- if, else, elif statements
- Loops (for, while)
- Loop control statements (break, continue, pass)
[Link]
- Function definition and invocation
- Function arguments (default, keyword, *args, **kwargs)
- Recursion
- Lambda functions
Data Structures
[Link]
- List creation, indexing, slicing, and manipulation
- List comprehensions
[Link]
- Immutable sequences
- Tuple packing and unpacking
[Link]
- Key-value pairs
- Dictionary methods and operations
[Link]
- Set operations (union, intersection, difference)
- Unique elements and membership testing
Object-Oriented Programming (OOP)
[Link] and Objects
- Creating classes, objects, attributes, and methods
[Link]
- Types of inheritance (single, multiple, multilevel)
[Link]
- Private, protected, and public members
[Link]
- Method overriding and overloading
[Link]
- Abstract classes and methods using abc module
[Link] Methods
- __init__(), __str__(), __repr__(), __len__(), etc.
Advanced Python
[Link] and Packages
- Creating and importing modules
- Using pip to install packages
- __init__.py, __main__.py
2. File Handling
- File reading and writing (open(), with statement)
- Working with files (text, binary, CSV, JSON)
[Link] and Exception Handling
- try, except, else, finally blocks
- Creating custom exceptions
[Link] and Iterators
- yield statement
- Iterator protocol
[Link]
- Function decorators
- Class decorators
[Link] Managers
- with statement
- Custom context managers using __enter__ and __exit__
[Link] Expressions
- re module for pattern matching
[Link]
- Multithreading (threading module)
- Multiprocessing (multiprocessing module)
- Asyncio for asynchronous programming