Skip to content

Category: Python

Stupid Python Tricks: Implementing a c-switch

Summary A discussion of a simple method in Python to implement the equivalent of a c programming style
Read More

Stupid Python Tricks: C-Structures using the ctypes Module (part 2)

Summary A discussion of overriding __new__ and __init__ to simplify the creation Python cstruct.Structure objects. Creating a new
Read More

Stupid Python Tricks: C-Structures using the ctypes Module

Summary A discussion of reading data out of stream of bytes (encoded in a C-like structure) using the
Read More

Stupid Python Tricks – Ensure PIP & Virtual Environments

Summary This article will show you how to fix your Python setup such that virtual environments that you
Read More

Stupid Python Tricks: VSCODE c_cpp_properties.json for Linux Kernel Development

Summary This article shows you how to create a Python program that creates a Visual Studio Code c_cpp_properties.json
Read More

Stupid Python Tricks: Install MBED-CLI on macOS

Summary This article describes a good set of steps to install the ARM MBED-CLI onto your Mac into
Read More