Welcome to Tony's Notebook

First experiences with TinyDB

2020-09-06

In this article I take a quick look at the magical TinyDB, a nifty little NoSQL/JSON/document-oriented database for Python.

Filed in: Python (Primarily about programming in Python)

How to take out a contract on John Wick

2019-04-04

I show you how to take out an open contract on John Wick with a bit of help from Nexmo and Python.

Filed in: Python (Primarily about programming in Python)

Python keyword parameters

2018-11-02

In this article I take a quick look at Python keyword (named) parameters.

Filed in: Python (Primarily about programming in Python)

Write your own JWT generator in Python

2019-11-23

Shows you how to write your own command-line JWT generator in Python.

Filed in: Python (Primarily about programming in Python)

Playing with Pygame

2021-02-21

I needed some light relief, so I started messing with Pygame.

Filed in: Python (Primarily about programming in Python)

Python and Unicode

2019-11-05

This article takes a look at using Unicode in Python.

Filed in: Python (Primarily about programming in Python)

Python non-greedy regexes

2019-10-19

How to make Python regexes a little less greedy using the `?` modifier.

Filed in: Python (Primarily about programming in Python)

How to secure your Flask web app with HTTPS and Basic Authentication

2020-10-10

How to secure your Flask web app with HTTPS and Basic Authentication

Filed in: Python (Primarily about programming in Python)

Tales from the Bcrypt

2017-10-09

Bcrypt proves to be a very convenient library for encrypting passwords.

Filed in: Python (Primarily about programming in Python)

'Stdout was a bad, bad boy'

2017-10-19

Sometimes an application may open `stdout` with ASCII encoding, rather than UTF-8.

Filed in: Python (Primarily about programming in Python)

How long to transfer a 1TB file?

2017-10-31

How long does it take to transfer a 1TB file? Python can help.

Filed in: Python (Primarily about programming in Python)

Verifying signed webhooks

2020-07-20

In this article I take a look at verifying Nexmo signed webhooks. The ideas might be useful in your own projects and for dealing with other APIs.

Filed in: Python (Primarily about programming in Python)

How Python saved my sanity!

2017-10-14

A light-hearted look into how Python can help you retain your sanity!

Filed in: Python (Primarily about programming in Python)

Introducing Python lambda

2019-10-20

A first look at Python lambda

Filed in: Python (Primarily about programming in Python)

How to write a simple web spider in Python

2019-11-07

How to write a simple web spider in Python to use as a link checker.

Filed in: Python (Primarily about programming in Python)

Python env issue on Ubuntu 16.04

2017-10-17

Describes an issue where Python couldn't be found on Ubuntu.

Filed in: Python (Primarily about programming in Python)