Problem scenario
Python can compile source code. There is a process that happens. What form does the code take in the interim (before byte code is created)?
Solution
Abstract Syntax Tree (according to page 175 of Expert Python Programming by Jaworski and Ziade). There is an ast module that allows you to interact with the Abstract Syntax Tree via its grammar. To read more, see https://docs.python.org/3/library/ast.html.