/ Home
Course: Python Basics
Note: Learn Python
Chapter: 1 | Virtual Environment
- Miniconda Setup
- Create env
Chapter: 2 | Introduction and Basics
- Installation
- Python Org, Python 3
- Variables
- Print function
- Input from user
- Data Types
- Type Conversion
- First Program
Chapter: 3 | Operators
- ArithmeticOperators
- Relational Operators
- Bitwise Operators
- Logical Operators
- Assignment Operators
- Compound Operators
- Membership Operators
- Identity Operators
Chapter: 4 | Git and GitHub
- Git - Version Control System
- Configure SSH
- Simple repo commit
Chapter: 5 | Conditional Statements
- IfElse
- If
- Else
- El If (else if)
- If Else Ternary Expression
Chapter: 6 | While Loop
- While loop logic building
- Series based Questions
- Break
- Continue
- Nested While Loops
- Pattern-Based Questions 7. pass
- Loop else
Chapter: 7 | For Loops
- Rangefunction
- For loop
- Nested For Loops
- Pattern-Based Questions
- Break
- Continue
- Pass
- Loop else
Chapter: 8 | Strings
- String Basics
- String Literals
- String Operations
- String Comprehensions / Slicing
- String Methods
Chapter: 9 | Lists
- List Basics
- List Operations
- List Comprehensions / Slicing
- List Methods
Chapter: 10 | Functions
- Definition
- Call
- Function Arguments
- Default Arguments
- Docstrings
- Scope
- Special functions Lambda, Map, and Filter
- Recursion
- Functional Programming and Reference Functions
Chapter: 11 | Dictionary
- DictionariesBasics
- Operations
- Comprehensions
- Dictionaries Methods
Chapter: 12 | Tuple
- TuplesBasics
- Tuples Comprehensions / Slicing
- Tuple Functions
- Tuple Methods
Chapter: 13 | Set
- SetsBasics
- Sets Operations
- Union
- Intersection
- Difference and Symmetric Difference
Chapter: 14 | File Handling
- FileBasics
- Opening Files
- Reading Files
- Writing Files
- Editing Files
- Working with different extensions of file
- With Statements
Chapter: 15 | Exception Handling
- CommonExceptions
- Exception Handling a. Try b. Except c. Try except else d. Finally e. Raising exceptions f. Assertion
Chapter: 16 | Modules & Packages
- Differenttypesofmodules
- Inbuilt modules
- OS
- Sys
- Statistics
- Math
- String
- Random
- Create your own module
- Building Packages
- 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
- Miniconda Setup
- Create env
- Activate/Deactivate env
- Requirements.txt
Chapter: 2 | Introduction and Basics
- Installation
- Python Org, Python 3
- Variables
- Print function
- Input from user
- Data Types
- Type Conversion
- First Program
Chapter: 3 | Operators
- Arithmetic Operators
- Relational Operators
- Bitwise Operators
- Logical Operators
- Assignment Operators
- Compound Operators
- Membership Operators
- Identity Operators
Chapter: 4 | Control Flow
- If/Elif/Else statements
- For loops
- Nested For loops
- While loops
- Break, Continue, Pass
- Range() function
- Enumerate()
- Zip()
Chapter: 5 | Strings
- String methods
- String slicing
- String formatting
- f-strings
- Raw strings
- Unicode handling
Chapter: 6 | Data Structures
- Lists (methods, indexing, slicing)
- Tuples (methods, immutability)
- Dictionaries (methods, keys, values)
- Sets (methods, operations)
- List comprehensions
- Dict comprehensions
- Set comprehensions
- Nested comprehensions
Chapter: 7 | Functions
- Function definition
- Return values
- Scope and LEGB rule
- Default arguments
- *args and **kwargs
- Unpacking operators
- Lambda functions
- Map, Filter, Reduce
- Higher-order functions
- Recursion basics
Chapter: 8 | Classes and OOP
- Class definition
- init method
- Instance variables
- Instance methods
- Class variables
- Class methods
- Static methods
- Inheritance
- super() function
- Polymorphism
- Method Resolution Order (MRO)
- Property decorators
- Dunder methods (str, repr, len, etc.)
Chapter: 9 | Exception Handling
- Try/Except/Finally
- Else clause
- Built-in exceptions
- Raising exceptions
- Custom exceptions
- Exception chaining
- Assertions
Chapter: 10 | File I/O and Context Managers
- File open() modes
- Reading files
- Writing files
- Context managers (with statement)
- Custom context managers (enter, exit)
- contextlib utilities
Chapter: 11 | Collections Module
- defaultdict
- Counter
- deque
- namedtuple
- ChainMap
- OrderedDict
Chapter: 12 | Iterators and Generators
- Iterables vs Iterators
- iter and next
- Creating custom iterators
- Generator functions (yield)
- Generator expressions
- yield from
- Generator send(), throw(), close()
Chapter: 13 | Functional Programming Tools
- itertools (chain, cycle, permutations, combinations)
- functools.lru_cache
- functools.partial
- functools.wraps
- functools.singledispatch
- operator module
Chapter: 14 | OS and File System
- os module (files, directories)
- pathlib (Path objects)
- shutil (copy, move, delete)
- glob and fnmatch (pattern matching)
- tempfile (temporary files)
- mmap (memory-mapped files)
Chapter: 15 | Data Formats and Serialization
- JSON module
- CSV module
- XML parsing (xml.etree.ElementTree)
- SQLite3 (database operations)
- Pickle (serialization)
- configparser (INI files)
- tomllib (TOML files, Python 3.11+)
Chapter: 16 | Text Processing
- re (regular expressions)
- string module (constants, Template)
- textwrap (formatting)
- difflib (sequence comparison)
- unicodedata
Chapter: 17 | Numeric and Mathematical
- math module
- random module
- statistics module
- decimal module
- fractions module
- numbers module
Chapter: 18 | Date and Time
- datetime module
- time module
- calendar module
- timezone handling
Chapter: 19 | System and Processes
- sys module
- platform module
- subprocess module
- signal module
- atexit module
- getpass module
Chapter: 20 | Advanced OOP
- Decorators (function, class, parameterized)
- Enums (Enum, IntEnum, Flag)
- Data Classes (@dataclass)
- Slots (slots)
- Descriptors (get, set, delete)
- Metaclasses
- Abstract Base Classes (abc module)
- weakref module
Chapter: 21 | Async and Concurrency
- Async/await syntax
- asyncio fundamentals
- Coroutines and tasks
- Event loop
- Threading module
- Multiprocessing module
- concurrent.futures
- Locks and synchronization primitives
- Queue module
Chapter: 22 | Networking and Internet
- socket module
- socketserver module
- urllib module (request, parse)
- http module (client, server)
- ftplib/smtplib/poplib/imaplib
- ssl module
- ipaddress module
Chapter: 23 | Security and Cryptography
- hashlib module
- hmac module
- secrets module
- uuid module
Chapter: 24 | Debugging and Testing
- unittest framework
- unittest.mock (patching)
- doctest
- pdb (debugger)
- timeit (benchmarking)
- cProfile and profile
- inspect module
- warnings module
- tracemalloc (memory tracking)
Chapter: 25 | Type Hints
- Basic type annotations
- typing module (List, Dict, Set, Tuple)
- TypeVar and Generic
- Protocol and TypedDict
- Callable and Optional
- Union and Literal
Chapter: 26 | Performance and Optimization
- slots for memory
- cProfile usage
- timeit module
- dis module (bytecode)
- tracemalloc module
- functools.lru_cache
- Generator efficiency
- array module