Tag: python
All the articles with the tag "python".
-
Python Project Folder Structure — The Modern Standard
How modern Python apps and libraries organize their source code, why the src layout with a named package folder is the de facto standard, and what tools reinforce it.
-
Async vs Threads in Python — Why Async Wins for AI Agents
A concept guide on Python threading, the GIL, asyncio, and why async is the right choice for AI agent code that calls LLM APIs and runs inside a Textual TUI.
-
Building TUI Apps with Textual — A Practical Guide
How to build a terminal user interface with the Textual framework, covering the widget tree, CSS layout, event handling, and the mental model for wiring in background logic like an AI agent.
-
Terminal, TUI, and Python — A Concept Guide
How terminals work under the hood, what TUI frameworks do, and which Python libraries to use for building terminal user interfaces.