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. -- http://mail.python.org/mailman/listinfo/python-list