1.3.1.1 Course Interfaces
Sandbox
This course does not require you to install any software applications to test your code and do the exercises.
To test or experiment with your code, you can use a dedicated, interactive on-line programming environment.
Sandbox allows Python code to be run in an Internet browser.

It is a tool integrated within the course, which can be used as a browser-based Python sandbox that allows you to test code discussed throughout the course, as well as an interpreter that enables you to launch, perform and test the lab exercises specifically designed for this course.
The Sandbox interface consists of three main parts:
- the Editor window, which lets you type in your code,
- the Console window, which lets you see the output of your programs,
- a tool named the Action Buttons bar, which lets you run your code, refresh the editor window, download your program as a .py file, upload a .py file that will be displayed in the editor, report a bug (in case you spot anything wrong, do let us know about it!)
- and the Settings button, which lets you adjust display settings and switch between Python/C/C++ environments.
Now copy the following code:
print("Hello!")
print("Welcome to Python Essentials!")
print("THIS IS SANDBOX MODE.")
...then click the Sandbox button to enter Sandbox Mode, paste the code in the editor window, and click the Run button to see what happens.
To get back to our course, click Back to course in the top right-hand corner of the Sandbox interface.
Comments
Post a Comment