macro in python

Dan Stromberg dstromberglists at gmail.com
Thu Mar 13 03:39:43 CET 2008


On Wed, 27 Feb 2008 16:24:02 +0530, bharath venkatesh wrote:

> hi ..
>     how to create macro in python for set of instruction that is done
> frequently but too less in number to ignore the overhead of function
> call ...
> hi ..<br>&nbsp;&nbsp;&nbsp; how to create macro in python for set of
> instruction that is done frequently but too less in number to ignore the
> overhead of function call ...<br>

I believe python doesn't do macros, but you could look into wrapping your 
python code with m4.





More information about the Python-list mailing list