Reading the Windows Registry with Python: A Case Study Using WinReg
Table of Contents Introduction Background: What is the Windows Registry? The Problem with Sample Code: Lessons from PEP 514 Exploring the Registry: Exporting and Analysing Data Building a Better Registry Reader in Python Practical Example: Using the Script Key Takeaways Try It Yourself 1. Introduction Curiosity often leads to some of the most interesting projects. After reading about PEP 514 in the Astral UV documentation, I discovered that Python installations on Windows are registered in the Windows Registry. Intrigued, I tried the sample code from PEP 514, only to find it lacking. This post documents my journey to build a more robust, flexible Python script for reading Windows Registry values. Hopefully this may be useful for someone. ...
Modernizing Python Development: My Switch to UV
Introduction 🚀 Python development is evolving rapidly, and UV is at the forefront of this transformation. In this post, I wanted to document my experience switching to UV, why and I how I’ve started the move to a modern workflow. Main Content Why Now? ⏰ The Python ecosystem is changing, and UV is a major addition to the modern toolkit. With a new Windows 11 laptop and a growing appreciation for PowerShell 7, it was the perfect opportunity to embrace UV and other up-to-date tools. Astral, the company behind UV and Ruff, has made cross-platform support seamless, and their documentation is clear for all major operating systems, but I will focus on WIndows. ...
Test Post
This is a test post to my Github Pages. Example Image should be here: