Python

Python tutorials and practical guides covering programming basics, scripts, automation, data handling, debugging, projects and useful code examples.
11 posts
Python
OpenCV 5 Computer Vision in Python for CS Students
public
Python 9 min read

OpenCV 5 Computer Vision in Python for CS Students

You've written Python programs that print to the terminal, read files, and maybe even scraped a website. But have you written code that can _see_? Code that can detect edges in a photograph or find faces in a group picture? That's computer vision.…
Techie Mike
Techie Mike
Switch from pip to uv — Python's New Package Manager Guide
public
Python 8 min read

Switch from pip to uv — Python's New Package Manager Guide

# Switch from pip to uv — Python's New Package Manager Guide If you've ever sat waiting for `pip install` to finish building wheels in a Docker build, you know the pain. Five minutes. Ten minutes. Sometimes longer, depending on how many native extensions your project pulls in. There's a better way…
Techie Mike
Techie Mike
Debugging Python for A-Level CS — Tracebacks & Fixes
public
Python 9 min read

Debugging Python for A-Level CS — Tracebacks & Fixes

Debugging Python for A-Level CS — Reading Tracebacks and Finding Bugs When your Python program crashes, it's not the end of the world. It's the start of a clue. I've seen students freeze when that red error text appears in their IDE. They stare at it, panic, and close the terminal.…
Techie Mike
Techie Mike
Python Program for IGCSE Paper 2 — Full Walkthrough
public
Code 9 min read

Python Program for IGCSE Paper 2 — Full Walkthrough

If you're studying for Cambridge IGCSE Computer Science (0478/9618), Paper 2 is where you write actual code. And here's the thing — most students lose marks not because they can't code, but because they don't know what the examiner is looking for. I've been teaching IGCSE CS for over a decade, and…
Techie Mike
Techie Mike
Python File Handling for IGCSE & A-Level CS — Examples
public
Python 6 min read

Python File Handling for IGCSE & A-Level CS — Examples

File handling is one of those topics that always shows up on Cambridge CS exams. Whether you're sitting IGCSE 0417 or AS/A-Level 9618, you need to know how to open, read, write, and append data in a file using Python. In this post, I'll walk through everything you need, with the kind of worked examp…
Techie Mike
Techie Mike
How to Set Up a Test Pipeline That Actually Catches Bugs
public
Python 8 min read

How to Set Up a Test Pipeline That Actually Catches Bugs

You push code. Tests pass. Merge. Deploy. It feels good when it works. But if you've ever pushed a change that broke production because "nobody ran the tests," you know the pain of a missing CI/CD test pipeline. I've been there — releasing a Python script that worked on my machine but crashed on th…
Techie Mike
Techie Mike
Python Dev Environment on VirtualBox with Ubuntu 2026
public
Python 6 min read

Python Dev Environment on VirtualBox with Ubuntu 2026

# Setting Up a Python Development Environment on VirtualBox with Ubuntu (2026 Edition) I've been using VirtualBox for development environments for years. The beauty of it is isolation — your host machine stays clean, you can blow away the VM when a project ends, and you get a true Linux environment…
Techie Mike
Techie Mike
Why use indentation in Python
public
Python 2 min read

Why use indentation in Python

Indentation is an important concept to understand in Python, if you are not indenting your Python code properly, you will end up getting the Indent.…
Techie Mike
Techie Mike
Python Programming Setup Guide for 2026
public
Python 4 min read

Python Programming Setup Guide for 2026

# Python Programming Setup Guide for 2026 So you want to learn Python. Great choice — Python's been the fastest-growing major programming language for years, and 2026 is no different. Whether you're aiming for web development, data science, automation, or AI, Python's the place to start. But befor…
Techie Mike
Techie Mike