Category Archives: python

Python Fake Data With Faker

Fake data can be invaluable for testing or demonstrating behaviour without using live, production data. This lets you protect your production data or help you get started when you don’t yet have a production system set up. This post gives an overview of the Python fake data package faker, which is invaluable for generating this… Read More »

Simple Django Web App

A Simple Django Web App Django is a popular web framework for python. Like other web frameworks, the purpose of Django is to help you build websites without the challenge of building everything from scratch. The purpose of this post is to get a minimally, just about useful, app working rather than demonstrating all of… Read More »

Python Strategy Pattern

The strategy pattern is all about being able to swap complex functionality in and out, without needing to change large amounts of code. This post summarises the strategy pattern in python. Formal, traditional design patterns are not found in python as often as in other languages such as C# or Java. It can still help… Read More »

Python Tkinter Example

This post works through a simple example of creating a GUI in python using Tkinter. The python tkinter example goes through some simple things that a GUI would need to do such as creating new windows, text input, and labels. This isn’t a tutorial as such, but instead I’ve tried to pick out a few… Read More »