Project Overview
About Python Learning
Python Learning is an interactive educational web platform built for school students and first-time programmers. Its goal is to make Python fundamentals—from first print statements to all seven operator families—clear, hands-on, and easy to practice directly in the browser.
Curriculum Scope & Audience
Designed specifically for beginners and exam preparation, the platform covers nine focused chapters: Introduction to Python, Syntax, Output, Variables, Data Types, Numbers, Strings, Booleans, and Operators.
How Code Execution & AI Tutoring Work
In-Browser Python Execution: Your code executes locally on your device inside a Web Worker powered by Pyodide (CPython compiled to WebAssembly). No traditional backend or database is used, and long-running scripts are guarded by an automatic 5-second timeout.
AI Python Assistant: Questions sent to the AI tutor pass through a minimal serverless Next.js Route Handler (/api/assistant) to the official Groq API, ensuring private API credentials never appear in browser code.
Technologies Used
Next.js App Router & TypeScript
Application framework & type safety
Tailwind CSS
Light-only responsive design system
MDX & Shiki
Structured lessons & syntax highlighting
CodeMirror 6
Accessible browser code editor
Pyodide (WebAssembly + Web Worker)
Real client-side Python 3 execution
Groq API (Serverless Route Handler)
Optional AI Python Tutor with protected credentials
Browser LocalStorage
Local lesson progress, quiz scores & chat history
Further Learning Resources
Explore these trusted external references for additional Python reading and documentation: