Saving work

User guide

This scheme uses embedded Trinkets to present a simplistic IDE for students to write their code. Using an online editor means this scheme will work on any device including Chromebook and iPad. To save their work students will need to note the share code of their program when they are ready to save:

To do this in Trinket select: Share... Link...

Copy or note down the URL shown:

Share URL

Each time a change is made to the code a new URL is created. The URL generated is just a hash of the source code. Therefore, students will need to note a new URL when they have finished working on a program or at the end of every lesson. Even a very small change to the code will make a big change to the URL.

Returning to a saved program

To return to the code a student was working on all they need to do is paste or enter the URL they noted down into their browser address bar.

Using this approach students can share their code with their teacher too, and even continue working on it outside of a lesson.

Downloading the code to keep

To do this in Trinket select: Share... Download.

Download code

If students have a Trinket account, they can save the Trinkets to their own Trinket storage.

Offline IDEs

Another approach is to use an offline IDE. Students can copy the boilerplate from the Trinket into a local IDE such as IDLE, Thonny or PyCharm. This may be preferable for assessments where you don't want the students being able to change their code remotely.

Registered in England and Wales: 10442992

VAT Number: 290 9845 58

Telephone: 01452 947500

Email: admin@craigndave.co.uk

Bett Awards 2024 Finalist