home courses course
Trending
4.9(156 reviews)

Python Programming

Complete Python Programming – Fundamentals to Advanced

Master Python — the world's most popular and versatile programming language. This course takes you from absolute zero to advanced Python covering OOP, functional programming, file handling, databases, APIs, automation, web scraping, testing, and real-world projects.

Hindi & EnglishOffline, OnlineBeginner to Advanced
Duration3 Months3 Months week
Batch size15 StudentsMonday to Saturday
InstructorTBA
CertificateIncludedGovt. recognized ✓

Career opportunities

Python DeveloperBackend DeveloperAutomation EngineerData Analyst (entry)Software DeveloperDevOps Engineer (entry)

Absolute beginners welcome — no prior coding needed · No age limit

Technologies and tools

Python 3.xVS CodePyCharmJupyter NotebookpipvenvSQLiteMySQLrequestsBeautifulSoup4SeleniumopenpyxlPillowpytestcoverage.pyasyncioSQLAlchemy
Python Programming

Python Programming

Trending

02:00 AM – 04:00 AM

1st of every month15th of every month

What you will get

Write clean, Pythonic, well-structured codeApply OOP principles in real-world applicationsHandle files, JSON, CSV, and databases confidentlyBuild automation scripts and toolsWork with REST APIs and web scrapingUse concurrency – threading, multiprocessing, asyncioWrite and run tests with pytestBuild a portfolio of 7+ Python projects

Course syllabus

14 modules · 251 topics · 21 weeks total

    • 1What is Python – history, applications, why Python
    • 2Python versions – Python 2 vs Python 3
    • 3Installing Python 3.x and environment setup
    • 4IDEs – VS Code, PyCharm, IDLE, Jupyter Notebook
    • 5Python REPL – interactive shell
    • 6First Python program – Hello World
    • 7Python syntax and indentation rules
    • 8Variables – naming conventions, assignment, multiple assignment
    • 9Data Types – int, float, complex, str, bool, NoneType
    • 10Type Checking – type(), isinstance()
    • 11Type Conversion – int(), float(), str(), bool()
    • 12Numeric operations – abs(), round(), pow(), divmod()
    • 13Arithmetic Operators – +, -, *, /, //, %, **
    • 14Relational Operators – ==, !=, >, <, >=, <=
    • 15Logical Operators – and, or, not
    • 16Bitwise Operators – &, |, ^, ~, <<, >>
    • 17Assignment Operators – =, +=, -=, *=, /=, //=, **=, %=
    • 18Identity Operators – is, is not
    • 19Membership Operators – in, not in
    • 20Operator Precedence and Associativity
    • 21Input and Output – print(), input()
    • 22print() formatting – sep, end, f-strings, format()
    • 23Comments – single line (#) and multi-line (docstrings)
    • 24Python keywords and built-in functions overview

    Duration: 2 Weeks

    • 1if statement
    • 2if-else statement
    • 3if-elif-else ladder
    • 4Nested conditionals
    • 5Ternary / Conditional expression (one-liner if-else)
    • 6while loop – syntax and use cases
    • 7for loop – iterating sequences
    • 8range() – start, stop, step
    • 9Iterating strings, lists, tuples, dicts with for
    • 10Nested loops
    • 11break statement – exiting loop early
    • 12continue statement – skipping iteration
    • 13pass statement – placeholder
    • 14else clause with loops (for-else, while-else)
    • 15Loop patterns – counting, summing, searching, accumulating
    • 16match-case statement (Python 3.10+ structural pattern matching)

    Duration: 1 Week

    • 1String creation – single, double, triple quotes
    • 2String immutability
    • 3String indexing – positive and negative
    • 4String slicing – [start:stop:step]
    • 5String concatenation and repetition
    • 6String methods – upper(), lower(), strip(), split(), join(), replace(), find(), count(), startswith(), endswith(), center(), zfill(), encode()
    • 7String formatting – % operator, .format(), f-strings (f'')
    • 8Escape sequences – \n, \t, \\, \'
    • 9Raw strings – r''
    • 10String comparison
    • 11String membership – in, not in
    • 12Multiline strings
    • 13String to list and list to string conversions
    • 14String unpacking

    Duration: 1 Week

    • 1Lists – creation, indexing, slicing
    • 2List methods – append(), extend(), insert(), remove(), pop(), clear(), sort(), reverse(), copy(), count(), index()
    • 3List as stack and queue
    • 4Nested lists – 2D lists, matrix operations
    • 5List Comprehensions – basic and conditional
    • 6Nested List Comprehensions
    • 7Tuples – creation, indexing, immutability
    • 8Tuple methods – count(), index()
    • 9Tuple packing and unpacking
    • 10Named Tuples – collections.namedtuple
    • 11Sets – creation, add(), remove(), discard()
    • 12Set operations – union, intersection, difference, symmetric difference
    • 13Set comprehensions
    • 14Frozen Sets
    • 15Dictionaries – key-value pairs, creation
    • 16Dictionary methods – get(), keys(), values(), items(), update(), pop(), setdefault()
    • 17Dictionary comprehensions
    • 18Nested dictionaries
    • 19collections module – Counter, defaultdict, OrderedDict, deque, ChainMap
    • 20Choosing the right data structure
    • 21Sorting – sorted(), key parameter, operator.itemgetter
    • 22Shallow copy vs Deep copy – copy module

    Duration: 2 Weeks

    • 1Defining and calling functions – def keyword
    • 2Function docstrings
    • 3Positional arguments
    • 4Keyword arguments
    • 5Default parameter values
    • 6*args – variable positional arguments
    • 7**kwargs – variable keyword arguments
    • 8Mixing positional, *args, keyword-only, **kwargs
    • 9Keyword-only arguments (after *)
    • 10Positional-only arguments (before /)
    • 11Return values – single and multiple (tuple)
    • 12Scope – Local, Enclosing, Global, Built-in (LEGB rule)
    • 13global keyword
    • 14nonlocal keyword
    • 15First-class functions – functions as objects
    • 16Higher-order functions – passing and returning functions
    • 17Lambda functions – anonymous functions
    • 18map() – applying function to iterable
    • 19filter() – filtering with a predicate
    • 20reduce() – from functools
    • 21zip() and enumerate()
    • 22sorted() with key function
    • 23Closures – inner functions and free variables
    • 24Recursion – base case, recursive case
    • 25Recursion examples – factorial, fibonacci, tower of Hanoi
    • 26Memoization – functools.lru_cache
    • 27Function annotations (type hints basics)
    • 28Partial functions – functools.partial

    Duration: 2 Weeks

    • 1What is a module
    • 2import statement – import module
    • 3from module import name
    • 4import as – aliases
    • 5__name__ == '__main__' guard
    • 6Built-in modules – math, random, statistics, datetime, time, calendar
    • 7os module – file system operations, paths, environment variables
    • 8sys module – argv, path, exit
    • 9pathlib – modern path handling
    • 10shutil – high-level file operations
    • 11glob – pattern-based file searching
    • 12Creating custom modules and packages
    • 13__init__.py – package initialization
    • 14Relative imports
    • 15pip – installing, upgrading, uninstalling packages
    • 16requirements.txt – managing dependencies
    • 17Virtual environments – venv, creation, activation
    • 18pipenv and poetry (overview)
    • 19PyPI – Python Package Index overview

    Duration: 1 Week

    • 1Opening files – open(), file modes (r, w, a, x, b, t, +)
    • 2Reading files – read(), readline(), readlines()
    • 3Writing and appending to files
    • 4Context managers – with statement (best practice)
    • 5Working with binary files
    • 6File and directory operations – os, pathlib
    • 7CSV files – csv module, reader, writer, DictReader, DictWriter
    • 8JSON files – json module, load(), loads(), dump(), dumps()
    • 9Working with Excel files – openpyxl (intro)
    • 10Working with PDF files – PyPDF2 (intro)
    • 11Pickling – pickle module, serialize/deserialize objects
    • 12configparser – reading .ini / config files
    • 13Logging – logging module, levels, handlers, formatters

    Duration: 1 Week

    • 1What are exceptions vs syntax errors
    • 2Common built-in exceptions – ValueError, TypeError, IndexError, KeyError, FileNotFoundError, ZeroDivisionError, AttributeError, ImportError
    • 3try-except block
    • 4Catching multiple exceptions
    • 5except Exception as e – accessing error details
    • 6else clause in try-except
    • 7finally clause – always executes
    • 8Raising exceptions – raise keyword
    • 9Re-raising exceptions
    • 10Custom exceptions – creating exception classes
    • 11Exception chaining – raise ... from ...
    • 12Context managers and exceptions
    • 13Assertions – assert statement
    • 14Debugging basics – print debugging, pdb module

    Duration: 1 Week

    • 1OOP concepts overview – Encapsulation, Abstraction, Inheritance, Polymorphism
    • 2Classes and Objects – class keyword
    • 3Constructor – __init__ method
    • 4Instance variables vs Class variables
    • 5Instance methods, Class methods (@classmethod), Static methods (@staticmethod)
    • 6self parameter – what it is and why it exists
    • 7Accessing and modifying attributes
    • 8Deleting attributes and objects – del
    • 9Properties – @property, getter, setter, deleter
    • 10Encapsulation – public, _protected, __private (name mangling)
    • 11Inheritance – single inheritance, inheriting attributes and methods
    • 12super() – calling parent class
    • 13Multiple Inheritance – Method Resolution Order (MRO), C3 linearization
    • 14Multilevel Inheritance
    • 15Hierarchical Inheritance
    • 16Mixin classes
    • 17Method Overriding
    • 18isinstance() and issubclass()
    • 19Abstract classes – abc module, ABC, abstractmethod
    • 20Interfaces via abstract classes
    • 21Polymorphism – duck typing, operator overloading
    • 22Magic / Dunder Methods – __str__, __repr__, __len__, __add__, __eq__, __lt__, __getitem__, __setitem__, __contains__, __iter__, __next__, __call__, __enter__, __exit__
    • 23Context Managers via classes (__enter__, __exit__)
    • 24Dataclasses – @dataclass decorator
    • 25Slots – __slots__ for memory optimization
    • 26Class decorators – @staticmethod, @classmethod, @property
    • 27Object cloning – __copy__, __deepcopy__
    • 28Design patterns intro – Singleton, Factory, Observer

    Duration: 3 Weeks

    • 1Iterators – __iter__, __next__, StopIteration
    • 2Generators – yield keyword, generator functions
    • 3Generator expressions
    • 4yield from – delegating generators
    • 5Decorators – function decorators, how they work
    • 6Decorator with arguments
    • 7Stacking multiple decorators
    • 8Class-based decorators
    • 9functools.wraps – preserving metadata
    • 10Built-in decorators – @property, @staticmethod, @classmethod
    • 11Context Managers – contextlib.contextmanager
    • 12Regular Expressions – re module
    • 13RegEx patterns – ., *, +, ?, [], {}, ^, $, \d, \w, \s, groups
    • 14re functions – match(), search(), findall(), sub(), split(), compile()
    • 15Named groups in RegEx
    • 16Type Hints – typing module, List, Dict, Optional, Union, Tuple, Any
    • 17Python 3.10+ type hints – X | Y syntax
    • 18Structural Pattern Matching (match-case) – deep dive
    • 19Walrus operator := (assignment expressions)
    • 20f-string advanced – nested expressions, format spec
    • 21String interning and identity
    • 22Memory management – garbage collection, reference counting
    • 23Profiling – cProfile, timeit
    • 24Weak references – weakref module
    • 25__slots__ and memory optimization
    • 26Metaclasses – type, __new__, custom metaclass

    Duration: 2 Weeks

    • 1SQL basics review – CREATE, INSERT, SELECT, UPDATE, DELETE
    • 2SQLite – sqlite3 module, built into Python
    • 3Connecting to SQLite, creating tables
    • 4Executing queries – execute(), executemany()
    • 5Fetching results – fetchone(), fetchall(), fetchmany()
    • 6Parameterized queries – preventing SQL injection
    • 7Context managers with databases
    • 8MySQL with Python – mysql-connector-python
    • 9PostgreSQL with Python – psycopg2 (intro)
    • 10SQLAlchemy ORM – models, sessions, queries (intro)
    • 11SQLite in real projects – CRUD application

    Duration: 1 Week

    • 1HTTP basics – GET, POST, PUT, DELETE, status codes
    • 2requests library – installation and usage
    • 3GET requests – requests.get(), response, JSON parsing
    • 4POST requests – sending data, headers, authentication
    • 5Working with REST APIs – OpenWeather, GitHub API
    • 6API Keys and environment variables
    • 7Error handling with API responses
    • 8requests.Session for persistent connections
    • 9Web Scraping – what it is, legality, robots.txt
    • 10BeautifulSoup4 – parsing HTML
    • 11BeautifulSoup – find(), find_all(), CSS selectors
    • 12Scraping tables, links, images
    • 13Handling pagination
    • 14Selenium – browser automation basics
    • 15Saving scraped data to CSV/JSON

    Duration: 1 Week

    • 1Why testing matters
    • 2unittest – TestCase, setUp, tearDown, assert methods
    • 3pytest – setup, writing test functions, fixtures
    • 4pytest markers and parameterize
    • 5Mocking – unittest.mock, MagicMock, patch
    • 6Test coverage – coverage.py
    • 7TDD – Test-Driven Development approach
    • 8Doctest – testing via docstrings
    • 9Integration testing basics

    Duration: 1 Week

    • 1Project planning and structuring a Python project
    • 2Project 1 – Student Grade Management System (File + OOP)
    • 3Project 2 – Weather App CLI (requests + OpenWeather API)
    • 4Project 3 – Expense Tracker (SQLite + OOP + File export)
    • 5Project 4 – Web Scraper – News Headlines (BeautifulSoup)
    • 6Project 5 – Task Automation – File Organizer Script
    • 7Project 6 – Quiz App (OOP + File handling)
    • 8Project 7 – Contact Book CLI (SQLite CRUD)
    • 9Writing clean, documented, tested Python code
    • 10Publishing a package to PyPI (overview)
    • 11GitHub project setup – README, .gitignore, requirements.txt
    • 12Python coding interview prep – common problems and patterns

    Duration: 2 Weeks

Courses related FAQ'S

Yes, all courses at Trendy are designed for beginners as well as students who want to improve their practical technology skills step by step.

TRENDY