Skip main navigation

What you need

To complete the activities within this course, you will need: Access to Scratch 3, either online or installed on your computer To be able to create and run Python 3 …

Errors in Text-Based Programs

Scratch programs don’t really crash. They might not do anything, or they might not do what is expected, but you won’t ever see error messages being spoken to you by …

Goodbye and next steps

I hope you’ve enjoyed exploring how you might support your learners in their transitions from using a block-based to a text-based language. It’s OK to still feel like a beginner …

Other languages

At the Raspberry Pi Foundation, we love Python, but it’s not the only text-based language that you could teach your students. Once you’ve become confident in a text-based language, you’ll …

Independent learning

In any learning environment, it is inevitable that some individuals will progress faster than others. This can make differentiating tasks for your learners a real challenge. Up until now, you …

How to generate a unique username using Python

Username generator Picking unique usernames for websites and other software is never easy, so why not automate the process with a random username generator? Translating Scratch code into Python code …

How to Manipulate Strings in Python

In this section we will look at some different ways in which you can manipulate strings in Python; hopefully you’ll find this much easier to do compared to using Scratch. …

Useful Python Scripts

Python Scripts are not limited solely for use in toy programs and games! It is important to realise that Python can be used to solve real-world problems as well. This …

What are the Data Types in Python?

Every programming language has its own rules about how to handle different types of data, although Scratch does not have its own specific data types. Python Data Types You are …

What is Pseudocode?

When you discuss how a program works, showing the code may not be the easiest way of explaining it — especially if the person you are talking to is less …

Moving from Scratch to Python

Darren Townsend, Code Club leader at Southwold Primary and Nursery School, details how he helps the pupils in his club move from Scratch to Python. I’ve been running after-school computing …

What is concurrency?

One of Scratch’s most notable and useful features is its ability to execute multiple blocks of code simultaneously. This means that the computer doesn’t need to wait for one code …