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

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 …

Making it graphical

Using the Python module guizero, you can add a graphical user interface to your Pokémon-fetching program. A graphical user interface (GUI) is a visual way for users to interact with …

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 …

Username generator

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 …

Poké-fun

You are going to use the pokebase, requests, and PIL external modules to download and display images of Pokémon. Which Pokémon? Create a new Python program and save it as …

Playing with strings

You’ve already tried out a few of Python’s built-in functions, such as str() and int(). You’ve also had a look at some functions from imported modules, for example choice() from …

Programs for class

Up until now, the Python scripts that we have been writing have been mostly toy programs and games. It is important to realise that Python can be used to solve …

Data types

Every programming language has its own rules about how to handle different types of data. Scratch does not have specific data types for you to use, so this may be …

Introducing 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 …

How to find help

In this step you will look at resources that your learners can use to help themselves rather than relying on your support. It can be difficult to spread your support …

Case study: Code Club leader

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 …

Silly story

In this step I am going to look at a fairly simple game using string operations, and compare the Scratch and Python code. You will create the game too! This …
close
  • 30% off Unlimited – Back by Popular Demand Nov-Dec 2021