Brussels / 2 & 3 February 2019

schedule

Making your Python code write your Python code

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. In this presentation 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 useful tools and even our own DSLs!

Speakers

Marcin Sobczyk

Links