[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: macro in python

Dan Stromberg

3/13/2008 2:40:00 AM

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.