- Pyroom
- Tutorials
- Files and resources
- Import and export a Python file
Import and export a Python file
Move code between Pyroom and any other editor: import a .py file, then export it again to keep a copy.
Beginner Video coming soon. The steps below show everything the video will cover.
Steps
- Open File, then Import file, and pick a .py file. It replaces the code in the editor.
- Run it like any other program.
- To keep a copy, open File and choose Export file. Your browser downloads a .py file.
Read the transcript
Open File, then Import file, and pick a .py file. It replaces the code in the editor.
Run it like any other program.
To keep a copy, open File and choose Export file. Your browser downloads a .py file.
More Files and resources tutorials
- Read CSV data and images as resources · Intermediate