/ Home

Course: Python Basics

Note: Learn Python

Chapter: 1 | Virtual Environment

  1. Miniconda Setup
  2. Create env

Chapter: 2 | Introduction and Basics

  1. Installation
  2. Python Org, Python 3
  3. Variables
  4. Print function
  5. Input from user
  6. Data Types
  7. Type Conversion
  8. First Program

Chapter: 3 | Operators

  1. ArithmeticOperators
  2. Relational Operators
  3. Bitwise Operators
  4. Logical Operators
  5. Assignment Operators
  6. Compound Operators
  7. Membership Operators
  8. Identity Operators

Chapter: 4 | Git and GitHub

  1. Git - Version Control System
  2. Configure SSH
  3. Simple repo commit

Chapter: 5 | Conditional Statements

  1. IfElse
  2. If
  3. Else
  4. El If (else if)
  5. If Else Ternary Expression

Chapter: 6 | While Loop

  1. While loop logic building
  2. Series based Questions
  3. Break
  4. Continue
  5. Nested While Loops
  6. Pattern-Based Questions 7. pass
  7. Loop else

Chapter: 7 | For Loops

  1. Rangefunction
  2. For loop
  3. Nested For Loops
  4. Pattern-Based Questions
  5. Break
  6. Continue
  7. Pass
  8. Loop else

Chapter: 8 | Strings

  1. String Basics
  2. String Literals
  3. String Operations
  4. String Comprehensions / Slicing
  5. String Methods

Chapter: 9 | Lists

  1. List Basics
  2. List Operations
  3. List Comprehensions / Slicing
  4. List Methods

Chapter: 10 | Functions

  1. Definition
  2. Call
  3. Function Arguments
  4. Default Arguments
  5. Docstrings
  6. Scope
  7. Special functions Lambda, Map, and Filter
  8. Recursion
  9. Functional Programming and Reference Functions

Chapter: 11 | Dictionary

  1. DictionariesBasics
  2. Operations
  3. Comprehensions
  4. Dictionaries Methods

Chapter: 12 | Tuple

  1. TuplesBasics
  2. Tuples Comprehensions / Slicing
  3. Tuple Functions
  4. Tuple Methods

Chapter: 13 | Set

  1. SetsBasics
  2. Sets Operations
  3. Union
  4. Intersection
  5. Difference and Symmetric Difference

Chapter: 14 | File Handling

  1. FileBasics
  2. Opening Files
  3. Reading Files
  4. Writing Files
  5. Editing Files
  6. Working with different extensions of file
  7. With Statements

Chapter: 15 | Exception Handling

  1. CommonExceptions
  2. Exception Handling a. Try b. Except c. Try except else d. Finally e. Raising exceptions f. Assertion

Chapter: 16 | Modules & Packages

  1. Differenttypesofmodules
  2. Inbuilt modules
    1. OS
    2. Sys
    3. Statistics
    4. Math
    5. String
    6. Random
  3. Create your own module
  4. Building Packages
  5. Build your own python module and deploy it on pip

Missing

1. Get Arguments
	https://www.onlinetutorialspoint.com/python/how-to-pass-command-line-arguments-in-python.html

2. argparse
	https://docs.python.org/3/library/argparse.html

3. optparse
	https://stackoverflow.com/questions/47310576/how-to-pass-command-line-arguments-to-a-python-file-from-a-script

4. math with round and ceil
	https://datagy.io/python-ceiling/

Course: Python Basics to Advanced

Chapter: 1 | Virtual Environment

  1. Miniconda Setup
  2. Create env
  3. Activate/Deactivate env
  4. Requirements.txt

Chapter: 2 | Introduction and Basics

  1. Installation
  2. Python Org, Python 3
  3. Variables
  4. Print function
  5. Input from user
  6. Data Types
  7. Type Conversion
  8. First Program

Chapter: 3 | Operators

  1. Arithmetic Operators
  2. Relational Operators
  3. Bitwise Operators
  4. Logical Operators
  5. Assignment Operators
  6. Compound Operators
  7. Membership Operators
  8. Identity Operators

Chapter: 4 | Control Flow

  1. If/Elif/Else statements
  2. For loops
  3. Nested For loops
  4. While loops
  5. Break, Continue, Pass
  6. Range() function
  7. Enumerate()
  8. Zip()

Chapter: 5 | Strings

  1. String methods
  2. String slicing
  3. String formatting
  4. f-strings
  5. Raw strings
  6. Unicode handling

Chapter: 6 | Data Structures

  1. Lists (methods, indexing, slicing)
  2. Tuples (methods, immutability)
  3. Dictionaries (methods, keys, values)
  4. Sets (methods, operations)
  5. List comprehensions
  6. Dict comprehensions
  7. Set comprehensions
  8. Nested comprehensions

Chapter: 7 | Functions

  1. Function definition
  2. Return values
  3. Scope and LEGB rule
  4. Default arguments
  5. *args and **kwargs
  6. Unpacking operators
  7. Lambda functions
  8. Map, Filter, Reduce
  9. Higher-order functions
  10. Recursion basics

Chapter: 8 | Classes and OOP

  1. Class definition
  2. init method
  3. Instance variables
  4. Instance methods
  5. Class variables
  6. Class methods
  7. Static methods
  8. Inheritance
  9. super() function
  10. Polymorphism
  11. Method Resolution Order (MRO)
  12. Property decorators
  13. Dunder methods (str, repr, len, etc.)

Chapter: 9 | Exception Handling

  1. Try/Except/Finally
  2. Else clause
  3. Built-in exceptions
  4. Raising exceptions
  5. Custom exceptions
  6. Exception chaining
  7. Assertions

Chapter: 10 | File I/O and Context Managers

  1. File open() modes
  2. Reading files
  3. Writing files
  4. Context managers (with statement)
  5. Custom context managers (enter, exit)
  6. contextlib utilities

Chapter: 11 | Collections Module

  1. defaultdict
  2. Counter
  3. deque
  4. namedtuple
  5. ChainMap
  6. OrderedDict

Chapter: 12 | Iterators and Generators

  1. Iterables vs Iterators
  2. iter and next
  3. Creating custom iterators
  4. Generator functions (yield)
  5. Generator expressions
  6. yield from
  7. Generator send(), throw(), close()

Chapter: 13 | Functional Programming Tools

  1. itertools (chain, cycle, permutations, combinations)
  2. functools.lru_cache
  3. functools.partial
  4. functools.wraps
  5. functools.singledispatch
  6. operator module

Chapter: 14 | OS and File System

  1. os module (files, directories)
  2. pathlib (Path objects)
  3. shutil (copy, move, delete)
  4. glob and fnmatch (pattern matching)
  5. tempfile (temporary files)
  6. mmap (memory-mapped files)

Chapter: 15 | Data Formats and Serialization

  1. JSON module
  2. CSV module
  3. XML parsing (xml.etree.ElementTree)
  4. SQLite3 (database operations)
  5. Pickle (serialization)
  6. configparser (INI files)
  7. tomllib (TOML files, Python 3.11+)

Chapter: 16 | Text Processing

  1. re (regular expressions)
  2. string module (constants, Template)
  3. textwrap (formatting)
  4. difflib (sequence comparison)
  5. unicodedata

Chapter: 17 | Numeric and Mathematical

  1. math module
  2. random module
  3. statistics module
  4. decimal module
  5. fractions module
  6. numbers module

Chapter: 18 | Date and Time

  1. datetime module
  2. time module
  3. calendar module
  4. timezone handling

Chapter: 19 | System and Processes

  1. sys module
  2. platform module
  3. subprocess module
  4. signal module
  5. atexit module
  6. getpass module

Chapter: 20 | Advanced OOP

  1. Decorators (function, class, parameterized)
  2. Enums (Enum, IntEnum, Flag)
  3. Data Classes (@dataclass)
  4. Slots (slots)
  5. Descriptors (get, set, delete)
  6. Metaclasses
  7. Abstract Base Classes (abc module)
  8. weakref module

Chapter: 21 | Async and Concurrency

  1. Async/await syntax
  2. asyncio fundamentals
  3. Coroutines and tasks
  4. Event loop
  5. Threading module
  6. Multiprocessing module
  7. concurrent.futures
  8. Locks and synchronization primitives
  9. Queue module

Chapter: 22 | Networking and Internet

  1. socket module
  2. socketserver module
  3. urllib module (request, parse)
  4. http module (client, server)
  5. ftplib/smtplib/poplib/imaplib
  6. ssl module
  7. ipaddress module

Chapter: 23 | Security and Cryptography

  1. hashlib module
  2. hmac module
  3. secrets module
  4. uuid module

Chapter: 24 | Debugging and Testing

  1. unittest framework
  2. unittest.mock (patching)
  3. doctest
  4. pdb (debugger)
  5. timeit (benchmarking)
  6. cProfile and profile
  7. inspect module
  8. warnings module
  9. tracemalloc (memory tracking)

Chapter: 25 | Type Hints

  1. Basic type annotations
  2. typing module (List, Dict, Set, Tuple)
  3. TypeVar and Generic
  4. Protocol and TypedDict
  5. Callable and Optional
  6. Union and Literal

Chapter: 26 | Performance and Optimization

  1. slots for memory
  2. cProfile usage
  3. timeit module
  4. dis module (bytecode)
  5. tracemalloc module
  6. functools.lru_cache
  7. Generator efficiency
  8. array module