Teaching Programming

Stefan Behnel stefan_ml at behnel.de
Tue May 4 06:50:46 EDT 2010


superpollo, 04.05.2010 12:28:
> i think there is an issue if you -- say -- produce python code, from
> within another programming environment, to be executed on the fly, at
> least in some instances. there might be problems if for example you
> generate code from a one-line template.

There are a couple of code generation tools available that you can find on 
PyPI.

However, the main reason why this problem doesn't hurt much in Python is 
that Python is a dynamic language that can get you extremely far without 
generating code. It's simply not necessary in most cases, so people don't 
run into problems with it.

Stefan




More information about the Python-list mailing list