Making your Python code write your Python code
Language: English
The presentation was given on 2019.06.02 at PyCon Israel 2019.
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.