All Modules
Chapter 03 • 06
Data Science Fundamentals, Math & Array Operations
12 Lessons • Hands-on practice
01
Lexical Analysis & Tokenizing with `tokenize`
Start
02
Parsing Python Code with `ast.parse`
Start
03
Inspecting Syntax Trees with `ast.dump`
Start
04
Traversing Nodes with `ast.NodeVisitor`
Start
05
Rewriting Code at Runtime with `ast.NodeTransformer`
Start
06
Building a Safe Math Evaluator with AST
Start
07
Compiling ASTs into Bytecode with `compile()`
Start
08
Safe Literal Parsing: ast.literal_eval vs eval()
Start
09
Inspecting CPython Bytecode with `dis.get_instructions`
Start
10
Dynamic Function Construction with types.FunctionType
Start
11
Token Stream Modification with tokenize.untokenize
Start
12
Building an Internal Domain-Specific Language (DSL)
Start