DecoratorsWHAT?A decorator in Python is a special kind of function that adds extra functionality to another function, without changing the original function’s code.WHY?To add some functionality befo...
ARGSCollects extra positional arguments as a tupleKWARGSCollects extra named arguments as a dictionaryBasic example for args
⛶def add_all(*args):
return sum(args)
print(add_all(1, 2, 3)) ...
This document aims to explain, in a simple and straightforward way, the main types of collections in Python: Lists, Tuples, Sets, and Dictionaries. If you've never programmed before, don't worry!1. Li...
In Python, sequence types are powerful structures used to store and manage collections of data in a specific order. Here are the key sequence types you should know:✅ Strings (str) – Immutable sequ...
"The best time to build is when you're most excited — so why does setup always get in the way?"
When I started building Greening, it wasn’t just to automate project scaffolding. It was to protect...
Motivation
I got to look after a cat named Epsilon for close to 10 months while her owner went for study exchange. After returning her to the owner, I kinda miss her. I miss that whenever I s...
Neural Shell (nlsh): Your AI-Powered Command Line Assistant
Have you ever found yourself spending precious minutes Googling the right shell commands or asking ChatGPT for help? The command li...
This Python cheatsheet is designed to be your quick reference guide for Python programming. Whether you’re a beginner learning the basics or an experienced developer looking for a handy resource, th...