Telling the digital time

Part of the digital clock code

After last week’s fun with emojis, yesterday we started to explore Tkinter, a Python library for creating a GUI, or Graphical User Interface (the way we visually interact with computers).

We’ll be working with this further next term but kicked things off with a digital clock.

Using the GUI and time modules, we worked our way through setting up the size and look of the clock (the fonts and colours were chosen by the students).

Most of the code was straightforward but there were a few tricky bits. So, well done to everyone for successfully completing the task.

This was the last class of Term 1. The first class back in Term 2 is on Thursday 27 April.

Code Champions March 2023

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s