Django: Using an Oracle database

This post will show you how to configure a Django application to use an Oracle database. Demo overview The goal of the Django project is to store episode information for the crime fiction television series Columbo. What you will need To build this demo I used the following: VS Code 1.5.6 Django 3.2.3 Python 3.9.1 Oracle Database […]

DAKboard: Raspberry Pi cron tips

When setting up a Raspberry Pi to be used as a DAKboard you may want to ensure that some tasks happen on a regular basis. The cron job scheduler can be used to achieve this and in this post I will show you how you can schedule turning the display off and restarting the Raspberry […]

Python Regular expressions in four steps

This post shows you how to use Regular expressions in Python. Step 1 Import There is no native support within Python for Regular expressions so the first step is to import the re module Step 2 Compile The next step is to compile the Regular expression. The compile method accepts a Regular expression and returns […]

pytest: Different directories

This post describes a problem you may encounter when using pytest and the module and unit tests resided in different directories. In this post I used Python 3.6.1 and VS Code 1.52.1 running on Windows 10. The module and the unit tests can be found on GitHub. The code and the tests fizz_buzz.py is a […]