Python: Date Time Reformatter

A simple function that takes a DateTime in the format: 2023-11-29T06:41:20-08:00 and outputs it in a much more pretty: 29/11/2023 06:41:20 -0800. As you can see its switching to the DDMMYY date format, followed by the time and finally the timezone.

Python Virtual Environment

A very quick overview of how you can use Python virtual environments. https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/ Install the Virtual Environment First install the virtual environment. Create the Virtual Environment Let’s say I have a project called “python-static-site”, so we’ll create the virtual environment within this project directory along with all the source files. The second argument is the … Read more