Learn Python from zero to advanced
A structured course with chapter notes, downloadable PDFs, practice questions, quizzes and projects. Read freely, or create a free account to track your progress.
Start Learning Try practice questions
Choose your learning path
Beginner path
Start here: setup, syntax, operators, strings, data structures and control flow.
Intermediate path
Functions, modules, files, exceptions and object-oriented programming.
Advanced path
Generators, decorators, databases, APIs, testing and real applications.
Complete syllabus
Module 1: Python Fundamentals
20 chapters available
Module 2: Operators and Expressions
9 chapters available
Module 3: Python Strings
10 chapters available
Module 4: Python Data Structures
16 chapters available
Module 5: Control Flow
15 chapters available
Module 6: Python Functions
16 chapters available
Module 7: Python Modules and Packages
9 chapters available
Module 8: File Handling
12 chapters available
Module 9: Exception Handling
9 chapters available
Module 10: Object-Oriented Programming
19 chapters available
Module 11: Advanced Python
19 chapters available
Module 12: Python Database and APIs
12 chapters available
Module 13: Python Testing and Debugging
9 chapters available
Module 14: Advanced Application Development
11 chapters available
Module 15: Career and Interview Preparation
9 chapters available
Featured tutorials
1. Introduction to Python
Learn what Python is, why so many beginners and professionals choose it, how a Python program runs, and how to write and run your first lines of code.
2. History and Features of Python
Follow the story of Python from its beginning with Guido van Rossum to Python 3 today, and learn the main features that make the language popular.
4. Installing Python on Windows
Learn how to download Python from the official site, run the Windows installer safely, tick the PATH option, and check that the installation works from Command Prompt.
5. Installing Python on Linux and macOS
Check whether Python is already on your Linux or macOS computer, install a current version with the right tool, and learn the difference between python3 and python.
19. Print Function
Explore everything the print() function can do: several values, sep and end, escape characters, printing to other streams, and handy f-string tricks for debugging.
22. Comparison Operators
Learn the six comparison operators, how Python compares numbers, strings and sequences, how chained comparisons work, and the difference between == and is.
Popular practice questions
Print a greeting
Introduction to Python
Add two numbers
Introduction to Python
Store and print your name
Introduction to Python
Area of a rectangle
Introduction to Python
Quotient and remainder
Introduction to Python
Check the type
Introduction to Python
Featured quizzes
Beginner Level Assessment
A complete beginner-level assessment covering modules 1-5.
Intermediate Level Assessment
A complete intermediate-level assessment covering modules 6-10.
Advanced Level Assessment
A complete advanced-level assessment covering modules 11-15.
Comprehensive Python Final Assessment
A mixed assessment across the whole Python course.
Quiz: Introduction to Python
Test yourself on "Introduction to Python".
Quiz: History and Features of Python
Test yourself on "History and Features of Python".
Latest projects
Data Analysis Report Tool
Write a sample sales CSV, load and clean it, then print a full statistics report with the statistics module: summary values, group tables, histogram, outliers, correlation and regression.
Static Site Generator
Build a tiny static site generator: it parses pages with header fields, converts mini Markdown to HTML, fills a template with navigation, writes a site folder and checks links.
Rule-Based Chatbot
Build a chatbot that answers with regular-expression rules, remembers facts such as your name, does safe arithmetic, reflects pronouns, and saves the chat to a log file.
Task Scheduler Simulator
Simulate how an operating system schedules tasks. Compare FCFS, SJF, SRTF, Priority and Round Robin with Gantt charts and waiting and turnaround statistics.
Markdown to HTML Converter
Build a small Markdown converter from scratch. It handles headings, lists, block quotes, code blocks, links, images and inline styles, and writes a full HTML page.
Duplicate File Finder
Find files with identical content using a fast three-stage filter (size, first 4 KB, full SHA-256) and move the extra copies to a trash folder.
Latest PDF notes
Python Cheat Sheet
One syntax template and one revision line per chapter. Covers all 195 chapters.
Python Interview Preparation Notes
Exam and interview points, FAQs and common mistakes from every chapter. Covers all 195 chapters.
Python Important Syntax and Functions
Syntax templates and key points collected from every chapter. Covers all 195 chapters.
Python Quick Revision Notes
Key points and quick-revision bullets for every chapter. Covers all 195 chapters.
Complete Python Advanced Notes
Modules 11-15: advanced Python, databases and APIs, testing, applications and career preparation. Covers all 195 chapters.
Complete Python Intermediate Notes
Modules 6-10: functions, modules, files, exceptions and object-oriented programming. Covers all 195 chapters.
Frequently asked questions
Is this course free?
Yes. All tutorials, notes, practice questions, quizzes and projects can be used without paying. Registration is optional and only needed to save your progress.
Do I need any programming experience?
No. The course starts from installing Python and writing your first program, and each chapter is marked beginner, intermediate or advanced.
Can I run Python code on this website?
No. We do not run code on the server. Install Python on your own computer (Chapter 4 and 5 show how) and try every example yourself.
Are the PDF notes free?
Yes. Every chapter has its own PDF note, and there are complete beginner, intermediate and advanced note books.