»Making your Python code write your Python code«
2019-06-05, 09:20–12:50, Room 1

Discover Python's ast module to see how you can analyze and generate Python code.

Have you ever wondered how much of your code could be generated automatically? Introspection, mutation, extension - Python's uber-dynamic nature allows us to do all kinds of kinky stuff. At this workshop, we will take a look at the 'ast' module and see how it allows us to analyze and produce Python code. By leveraging it's power, we will try to create some useful tools.