Python Macros

Josiah Carlson jcarlson at
Mon Oct 4 14:17:00 EDT 2004

> >Check out the tokenizer module.
> >
> Is this easy to use?  Are there good tutorials?

I don't know, I've never had the need, nor desire, to change Python
syntax.  Michael Sparks gave a good link though.

> >Python has no macro facilities.
> >
> Really?  I read that Python was just like Scheme in that it had macro 
> facilities.

Well, they are wrong.  The Python language has no 'macros' in the
language sense..  Applications have used Python for scripting and/or
'macros', but they are not 'macros' in the language sense.

> Great, thanks.

No problem.

 - Josiah

More information about the Python-list mailing list