Experimental · Multi-file projects · No account needed

Python Pro Mode
Multi-File Projects in Your Browser

When one file gets crowded, switch to Pro. Split your code into files and folders, import a project from ZIP or GitHub, and work with notebooks.

From one Python file to a project

This program runs here as one file, because share links and embeds carry a single file. The comments show how you would split it in Pro.

# This part moves to scores.py
def average(marks):
return sum(marks) / len(marks)
 
# This part stays in main.py
marks = [8, 7, 9]
print("Average:", average(marks))
Output
Average: 8.0
Files and Folders

Split Your Code into Files and Folders

Pro adds a file explorer beside the editor, with each open file in its own tab. Your files can import one another, just as in a project on your computer.

  • Create, rename, move and delete files and folders
  • Import across files with from scores import average, or import pkg.utils for a file in a folder
  • In a multi-file project, Run starts the entry file, not the tab you have open
Pro Mode guide →
Files
Switch to Pro (experimental)

Entry file (Run)main.py

New filename.py · .txt · .ipynb

New folderfolder name

ZIP Import and Export

Move a Whole Project with a ZIP

Export the project as one ZIP to back it up, hand it to someone, or open it in another browser.

  • Export keeps files, folders, data files and notebook outputs
  • Import handles up to 500 files and 20 MB, with up to 4 MB of code and text
  • See a summary first, because an import replaces your current project
Import project
Import project (.zip)…

Run file: main.py

Data files are kept until you close this tab. Export the project to keep them.

This replaces your current project.Export current project first

GitHub Import

Open a Public GitHub Repository

Paste a link to a repository, a branch or a folder, and Pyroom opens it as a project. It is a good way to read real code or to start from a teacher's example.

  • Public repositories only
  • GitHub import needs internet, while ZIP import and export work offline
  • Import goes one way: your changes stay in Pyroom and nothing is sent to GitHub
Import from GitHub
Public GitHub repository link

https://github.com/owner/repo

A repository, branch or folder link. Only public repositories are supported.

Tip: on GitHub choose Code → Download ZIP, then use Import project (.zip).

Notebooks

Mix Code and Notes in a Notebook

Create a .ipynb file or import one you already have. Run code one cell at a time and explain it in Markdown cells.

  • Code cells and Markdown cells in one file
  • Turn a script into a notebook and back
  • Export a standard .ipynb file
Notebook
name.py · .txt · .ipynb

Convert to Notebook

Convert to Script

Export .ipynb

Drop files here to import

For learners and teachers ready for more than one file

Split a growing program

Move helper functions into their own file and keep main.py short.

Read real projects

Open a public repository and follow how its files fit together.

Hand out a starter project

Give students a ZIP or a public GitHub link. They import it, and Pro turns on by itself.

How to start with Pro mode

  1. Step 1

    Switch to Pro

    Select the Lite badge beside the Pyroom logo, or choose Switch to Pro (experimental) in the menu.

  2. Step 2

    Add your files

    Create files and folders, or import a project from ZIP or GitHub.

  3. Step 3

    Run and keep a copy

    Run starts the entry file. Export a ZIP when you want a copy outside this browser.

Python Pro mode questions

Is Pro mode a paid plan?

No. Pro is the name of this workspace, not a subscription. Switching to it needs no account.

Why is Pro mode labelled experimental?

The app marks it as experimental, so expect rough edges and keep a ZIP of work that matters.

Can I share a multi-file project with a link?

No. Share links, QR codes and embeds carry one file, the one open in the editor, and embeds have no Pro switch. To share a whole project, send a ZIP or use a public GitHub repository.

Where is my project saved?

In this browser, on this device. Data files stay only until you close the tab, and a very large project may not fit, so export a ZIP to keep your work.

Can I import a private GitHub repository?

No. GitHub import supports public repositories only.

Can I go back to Lite?

Yes. Select the Pro badge. Your project stays in this browser if you switch back later.

Try Pro mode

Nothing to install, and no account needed.

Open Playground →