Typing the untypable: generating Python .pyi stubs

In Python, some classes define their attributes dynamically. This means the attributes don’t exist as normal instance variables and are […]
Creating Python Libraries & Reusable Modules

Creating Python Libraries & Reusable Modules: A Comprehensive Guide Introduction: Python’s modularity is one of its greatest strengths. It encourages […]
Basic Mail Automation in Python

Mail automation is a python script and is usually called “Mail Merge Generator” but I like mail automation more, so […]
Unlocking IIFE in Python – Write It, Run It, Forget It.

From JavaScript to Python: Why IIFE Still Matters. What is IIFE? An Immediately Invoked Function Expression (IIFE) is a function […]
A Developer’s Deep Dive with Python

You’ve mastered reading the blockchain. You can connect to a node, instantiate a contract with its ABI, and call() public […]
Text Cleaning in Python

Hey to my fellow Python enthusiasts. This article is about a very simple text cleaning. Nothing fancy or complicated here. […]
Python: How to Encrypt and Decrypt with AES

Introduction Sometimes we need to keep data secret—like passwords, personal details, or private messages. AES (Advanced Encryption Standard) is a […]
List Comprehension vs Dictionary Comprehension in Python and how to come up with dictionary comprehensions from 2 lists.

List Comprehension vs Dictionary Comprehension in Python Python provides comprehensions as a concise way to create lists, dictionaries, and even […]
Mastering Python Arrays: A Comprehensive Guide for Beginners & Beyond

Mastering Python Arrays: A Comprehensive Guide for Beginners & Beyond If you’re learning Python, you’ve undoubtedly fallen in love with […]
Efficient Iteration Patterns with Python’s itertools

When you master iterators and generators, you gain control over how data flows through your program. But Python doesn’t stop […]