Blog
Writing
Notes from building AI products and working in the ServiceNow ecosystem.
July 16, 2026 · 3 min read
PythonInternalsFrom Script to Screen: How Your Code Actually Runs
You've written your script and pressed Enter. What happens next? Python goes on a journey from a text file to a living, breathing program — through compilation, code objects, frames, and a 3,000-line loop.
July 15, 2026 · 3 min read
PythonInternalsThe Secret Morning Routine of CPython
Before Python even looks at your first line of code, it goes through a complex 'morning routine' called initialization — three phases that set up memory, the GIL, and everything print() needs to exist.
July 14, 2026 · 3 min read
PythonInternalsUnder the Hood: A Tour of the Python Engine
Have you ever wondered what actually happens when you type python into your terminal? Most of us treat Python like a magic box — but it's actually a massive, well-organized software project called CPython.