GenAI Tue 17 February 2026

Python JSON Handling for LLM Applications

Every structured piece of data that moves between your code and an LLM API eventually passes through JSON — it's the universal handshake format for AI APIs, tool calls, and structured model output. Python's relationship with JSON is close to seamless, but getting genuinely...

GenAI Mon 16 February 2026

Python Lists and Dictionaries in AI

If there's one pattern that shows up in nearly every line of generative AI code, it's this: lists and dictionaries, nested inside each other, moving data in and out of API calls. They've been referenced throughout this series as "the core data shapes of AI work," but they deserve a …

GenAI Sun 15 February 2026

Python OOP for GenAI Projects

The previous post covered classes as a practical tool for managing state in AI applications — conversations, sessions, agents. This one zooms out to the bigger picture: object-oriented programming (OOP) as a design philosophy, and specifically the four core principles —...

GenAI Sat 14 February 2026

Python Classes for AI Applications

Functions are great for a single, self-contained piece of logic — summarize this text, classify this sentiment. But a lot of real generative AI applications need something functions alone don't handle well: state that persists and evolves over time — an ongoing conversation,...

GenAI Fri 13 February 2026

Python Functions for AI Development

Once a generative AI script grows past a handful of lines, functions stop being optional structure and start being the thing that keeps the whole project sane. They're how you turn "a prompt I typed once" into "a reusable piece of AI logic anyone on the team can call." This …

GenAI Thu 12 February 2026

Python Variables for AI Applications

Every generative AI script — no matter how simple or sophisticated — is built on the most basic unit in Python: the variable. It's easy to skim past variables as "too basic to matter" when you're eager to get to prompts and API calls, but the way you use variables directly shapes …

GenAI Wed 11 February 2026

Python Fundamentals for GenAI Developers

You don't need to be a professional software engineer to start building with generative AI — but there's a core set of Python fundamentals that make working with LLMs, APIs, and AI frameworks dramatically smoother. If you're coming to Python specifically to build generative...

GenAI Tue 10 February 2026

Why Python is Popular in Generative AI

Walk into nearly any AI research lab, startup, or open-source project working on generative AI, and you'll find the same language underneath almost everything: Python. It's not the fastest language, and it wasn't originally designed with AI in mind. So why has it become the...