macro in python

Dan Stromberg dstromberglists at gmail.com
Wed Mar 12 22:39:43 EDT 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>    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