Latest recipes tagged "transform"http://code.activestate.com/recipes/tags/transform/new/2011-07-12T22:04:44-07:00ActiveState Code RecipesA Simple Class for Transforming Python Source Files (Python)
2011-07-12T22:04:44-07:00Eric Snowhttp://code.activestate.com/recipes/users/4177816/http://code.activestate.com/recipes/577788-a-simple-class-for-transforming-python-source-file/
<p style="color: grey">
Python
recipe 577788
by <a href="/recipes/users/4177816/">Eric Snow</a>
(<a href="/recipes/tags/backport/">backport</a>, <a href="/recipes/tags/transform/">transform</a>).
Revision 3.
</p>
<p>Subclass with some replacements and you are ready to go. If the replacements aren't good enough simply override the transform() method.</p>