A Python project from start to finish: build, run, export
Pro Mode projects live in your browser. This tutorial builds a small two-file project, runs it, exports it as a ZIP backup, then imports that backup again, as you would on another computer.
Advanced Video coming soon. The steps below show everything the video will cover.
Steps
- Switch to Pro Mode from Settings, Mode.
- Create helpers.py and write a function in it.
- In main.py, import the function and use it.
- Run the project. Run always starts main.py, the entry file.
- Open File, then Project, and choose Export project. Pyroom downloads the whole project as one ZIP file.
- Later, or on another computer, choose Import project from ZIP and pick that file.
- Pyroom lists the files and asks before replacing your project. Confirm, and the project is back.
Read the transcript
Switch to Pro Mode from Settings, Mode.
Create helpers.py and write a function in it.
In main.py, import the function and use it.
Run the project. Run always starts main.py, the entry file.
Open File, then Project, and choose Export project. Pyroom downloads the whole project as one ZIP file.
Later, or on another computer, choose Import project from ZIP and pick that file.
Pyroom lists the files and asks before replacing your project. Confirm, and the project is back.
More Pro Mode tutorials
- Switch to Pro Mode and explore the workspace · Beginner
- Build a two-file Python project with imports · Intermediate
- Import a Python project from ZIP or GitHub · Advanced