Playground

Instructions

Try some simple Python programming exercises in the Playground! Familiarize yourself with the features below before you begin!

Button guide

Notebook files

Open
Open a local .ipynb notebook.
New
Start an empty notebook after confirmation; attached files remain.
Save
Download the current cells and outputs as .ipynb. Attached data files are not embedded.

Attached files

Add files
Choose files, then a folder under /home/pyodide (default: Path("uploads")). For example, data/train saves to /home/pyodide/data/train, even after os.chdir(). The same full path replaces a file; different folders keep separate copies.
Remove
Remove the selected attached file.
Clear all
Remove every attached file while keeping notebook cells.

Notebook controls

Add cell
Add an empty Python cell at the end.
Run all
Run or render every cell from top to bottom.
Restart
Reset Python while keeping cells, attached files, and cached packages.

Reference tools

Available packages
Browse packages available in the browser runtime.
Markdown rules
Open Markdown syntax examples and renderer limitations.
Show shortcuts
Open the editor keyboard shortcut reference.
AI assistance
Select Markdown text and press Alt + A for a revision, or place the caret on a completed Python line and press Alt + A for the next-code proposal.

Cell type and execution

Python
Set the selected cell to executable Python.
Markdown
Set the selected cell to Markdown.
Run
Run the selected Python cell.
Render
Render the selected Markdown cell.
Edit
Reopen rendered Markdown for editing.
Stop
Stop the active Python cell and restart Python state. Cells and attached files remain available.
Copy
Copy a code block shown in rendered Markdown.

Cell organization

Add above
Insert a cell above the selected cell.
Add below
Insert a cell below the selected cell.
Merge above
Merge the selected cell with the same-type cell above it.
Merge below
Merge the selected cell with the same-type cell below it.
Delete
Delete the selected cell; press Z to restore the latest deleted cell.
Notebook controls
New notebook (unsaved)
No local files selected.
    Python 3.12 (Pyodide) Python 3.12

    Login

    A six-digit login code will be sent by email.

    Do not use this option on a shared or public device.

    Sign up

    필수 개인정보 수집·이용 안내 / Required Privacy Notice