Skip main navigation

Making a text editor using Python

Getting started First, we need to plan our text editor by thinking about what it needs to do and which widgets are best suited to the task. Look at an …

Python and guizero: Intro to boxes

In this article, we are going to look at a specific kind of widget called a Box and learn how it can be used to control the layout of our …

The importance of GUI layouts

In this article, we will be looking at how to layout the widgets in a GUI and how to change a GUI’s design. IWe will discuss why design is important …

How to Create Your First GUI

Load up your chosen code editor (usually part of your IDE) and save the empty file as ‘firstgui.py’ straight away. Once done, put this code into the coding window: from …

What is a GUI and why do we have them?

The earliest computers had no keyboards or monitors, and would instead use punchcards for input and line printers to provide output. When monitors were introduced, these generally used text-based output …

Project decomposition

This week you are going to use guizero to build a game. The program you will write is complex and so the project will be broken down into several stages …

Understanding event driven programming

The programs you will have written prior to this course were probably procedural programs. Procedural or sequential programs generally run instructions from top to bottom, calling functions as they run. …