Platform Documentation
12 sections, from your first account to keyboard shortcuts.
Section 01
Learn how PyLabs works, how to create an ID without mandatory email, and how to configure your profile.
PyLabs is a modern, interactive platform designed to teach Python by actually writing and running code directly in your browser. No installation, complex terminal setups, or compilers are required.
You can register with just a unique username (4–15 characters: lowercase letters, digits, dots, hyphens and underscores, starting with a letter) and a password. An email address is entirely optional, putting your privacy and simplicity first.
Set your display name and optional school, manage your recovery methods, or delete your account and its data in your Account Settings.
Section 02
Explore 3 courses, 18 modules and 60 lessons, and the in-browser Python engine.
The courses run in order, from your first program to iterators, decorators and tested, robust code. Every course is open from the start; each builds on the one before it, and a placement exam lets you check you are ready. Every lesson has a Lab and a quiz.
4 lessons
5 lessons
4 lessons
4 lessons
3 lessons
3 lessons
3 lessons
4 lessons
3 lessons
3 lessons
3 lessons
3 lessons
4 lessons
2 lessons
3 lessons
3 lessons
3 lessons
3 lessons
Every code editor runs on Pyodide (Python compiled to WebAssembly). When you press Run, Python executes in a disposable browser worker on a separate execution origin. Use Stop to end a run. Submitting practice or saving a file sends that work to PyLabs; running code alone does not save it. Startup, execution time and available memory depend on your device.
Section 03
Write any script, adjust font size, auto-save to PyLabs Drive, and resize code/output panes.
The Python Playground is a full in-browser IDE for running Python code, testing algorithms, and saving scripts to your personal cloud drive.
Click Save to store scripts into PyLabs Drive. Toggle Autosave to automatically back up your code after a 1.5-second typing pause.
When saving an existing file, choose to overwrite with optimistic version checking or click Save a copy to create a new script branch without losing changes.
When your code calls input("prompt"), the program pauses and a text field appears right after the prompt on the same terminal line. Type your answer and press Enter to continue the same run.
Scale editor typography with - 14px + controls, and drag the central split divider to balance editor and console pane sizes.
Section 04
Test your knowledge with 720 quiz questions, pass module exams, and earn a certificate for each course.
Every lesson has a quiz, every module has a 15-question exam, and every course ends with a final exam. All of them are marked on the server, so only these results earn XP. Lesson quizzes show explanations as you go; exams wait until you finish. Questions you miss come back later in Spaced Review.
One after every lesson
Retakes count: a retake earns only the improvement over your previous best score, so studying and trying again is always worth it.
One certificate per course
Section 05
Upload supported project files, grant specific recipients access, and open scripts in Playground.
Every registered learner receives a private Drive, backed by Cloudflare R2 storage, for saving scripts and project files:
Store Python scripts (.py), data files such as CSV and JSON, documents, images, web files and archives, up to your account allowance.
Open any saved .py file directly into the Playground editor with one click to test, run, and continue coding without manual downloads.
Grant access to specific learners or share with the administrator. Shared files open in read-only mode, and recipients can clone them to their own Drive via Save a copy.
Download or delete your files at any time. File deletion instantly revokes access and queues underlying storage for automated garbage collection.
Section 06
Work through 420 Lab tasks, run worked examples, and review with flashcards and spaced review.
Practice is where you write the code yourself. It is hands-on and earns no XP:
7 kinds, from write and fix to trace, refactor and challenge
Every lesson has a Lab of tasks, easy to hard, and modules add coding exercises and projects. Coding practice needs a free account. Every lab is open from the start.
Practice earns no XP: output produced in your browser never proves mastery. Solved tasks count toward Lab progress, badges and streaks, and hints or a revealed solution never cost you anything.
Interactive lesson demonstrations
Every lesson provides a runnable worked example demonstrating key concepts in action.
Change the starter code and run it to see what happens. Examples are for exploring and earn no XP.
Recall what you learned
Flashcards are built from quiz questions: pick a module or mix a whole course, and flip each card when you are ready.
Questions you miss in quizzes and exams return on a fixed box ladder, from ten minutes up to weeks. A correct recall moves a card up one box; a miss sends it back to the first.
Section 07
Earn XP from completed lessons and verified quiz and exam results, level up, and compete on season boards for each course.
XP rewards verified learning only: server-graded quizzes and exams, plus a small step for each completed lesson. There are no penalties. See the full table on the XP System & Tracker page.
Levels
Your level comes from lifetime XP, and each level needs a little more than the last. Lifetime XP never resets and is never taken away.
Seasons
Seasons are fixed four-month periods in UTC: January to April, May to August, and September to December. XP you earn counts toward the current season and the course it came from.
Course boards
Each course has its own season leaderboard, beside an overall season board and an all-time board. Ties go to more lessons completed, then to whoever reached that XP first.
Season badges
An hour after a season ends its standings become final. The top 3, the top 10 and the top 10% of each course board earn a badge, which carries no XP.
Who appears on a board:
Active learners with more than 0 XP for that board. Names are read live, so a name change or account deletion shows on past seasons too.
Section 08
Set up recovery with security questions, a verified phone, or a linked Google account.
PyLabs does not require an email at signup. To protect your access, three automated recovery methods are provided in your Account Settings:
Choose two private security questions and set your answers. Answers are stored only as hashes, and answering both on the Forgot Password page lets you reset your password yourself.
Attach an SMS-verified phone number to your account to receive one-time SMS passcodes for instantaneous password recovery.
Link your Google identity for 1-click sign-in convenience and instant account recovery without remembering separate passwords.
If you lose access without any automated recovery channel configured, you can submit a recovery request directly to platform administrators.
Signed-in devices: Account Settings lists every active session with its device type, system and browser. Use Log out other sessions to keep only the device in front of you, or Log out of all sessions to sign out everywhere.
Section 09
Boost your learning speed with keyboard navigation and editor commands.
Use these keyboard shortcuts inside any PyLabs code editor:
Section 10
Scale reading and editor fonts globally or per-page, with persistent settings synced to your profile.
PyLabs includes a dedicated typography scaling engine designed for comfortable reading across all screen sizes and visual preferences:
Choose All pages to apply text scaling globally across every course lesson and reference guide, or select This page only to set a custom zoom level exclusively on the current route.
Your chosen zoom factor (from 85% up to 130%) is cached in your browser for flicker-free rendering and, when you are signed in, saved to your account so it follows you to other devices.
Use the floating text size button on the right side of every page, just above the feedback button. It stays clear of phone safe areas, and its panel switches between All pages and This page only.
Section 11
Send feedback with a screenshot and get replies from the administrator in your notifications.
We continuously improve PyLabs based on learner bug reports, suggestions, and feedback:
Click the floating feedback button at the bottom-right corner of any page to open the feedback panel. Describe what happened and send it.
Attach an image file to show what you saw. Screenshots are downscaled, and messages and screenshots are kept for 30 days with basic browser details. Remove passwords and personal information before sending.
When you send feedback while signed in, the administrator can reply with a fix or an explanation, and the reply arrives in your notifications.
Section 12
Answers to the most common questions about PyLabs and Python learning.
Next
Jump into lesson one or open the playground right now to test out your Python skills.