Protecting a Python Codebase - Part 2

This is the second part of the Protecting a Python codebase series. This time we will be playing with Python Abstract Syntax Trees in order to protect the original code of a Python based project. Python Abstract Syntax Trees As the Python Documentation says: The ast module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the current grammar looks like. ...

March 25, 2015 · 5 min · 925 words · Me