Web Development
How to interact with REST APIs from JavaScript
Learn how to use JavaScript to interact with your REST APIs, using XMLHttpRequest and also fetch.
Web Development
Learn how to use JavaScript to interact with your REST APIs, using XMLHttpRequest and also fetch.
Python Snippets
In this post we cover a lesser known string method called partition. It has a lot of similarities to split, but there are some interesting differences.
Flask
Learn how to temporarily show messages in your websites when using Flask, by using the built-in message flashing mechanism. It's flexible yet straightforward!
Python Snippets
In this post we dive deeper into Python's formatting syntax, learning about displaying numbers in different bases. We also make a neat colour converter too!
GUI Development
In this post we finish off our Snake game using Tkinter's Canvas widget. Learn how to move objects on the Canvas, delete them, or add more.
Python Snippets
In this post we continue looking at formatting, this time exploring nested string interpolation, which we can use to dynamically set formatting options.
GUI Development
In this post we start work on recreating the popular arcade game, Snake, using Tkinter's versatile Canvas widget.
Python Snippets
Learn how to leverage Python's detailed formatting language to control how numbers are displayed in your applications.
Learn Python Programming
Decorators in Python can be a confusing topic, particularly for newer students. In this post we'll explain them from the ground up, including how they work, their syntax, and much more!
Python Snippets
Learn about conditional statements in Python: a slightly obscure bit of syntax that allows for succinct conditional logic, particularly during assignments.
GUI Development
In this post we dive deeper into GUI development with Tkinter, exploring the grid geometry manager. Grid is a great alternative to pack for complex layouts.
Learn Python Programming
Visual Studio Code is an amazing editor for Python. Here are a few extensions, tips, and tricks I've learned over the years!