Python Internals

by Tom

If you’re a Python programmer or have an interest in the language take a look at this well-written article on Python internals, the first of a series, from Yaniv Aknin. The article starts with a higher-level view of what’s going on when you type $ python -c ‘print(“Hello, world!”)’,  and it goes on from there. Aknin doesn’t talk too much about Python’s compiler/parser, opting instead for brief, foundational explanations of interpreter and thread state, name spaces, modules and builtins, and code and frame objects. He promises that this will be the first of a series of explorations into Python’s inner workings so I’ve got it bookmarked and I suggest that you do too.

If you found this helpful or interesting, please share it!

Leave a Comment

Previous post:

Next post: