#define (from C) in Python

greg greg at cosc.canterbury.ac.nz
Thu Nov 12 21:36:42 EST 2009


TerryP wrote:
> If it's such a big hairy deal, just recompile a copy of the C Pre
> Processor to use something other then #, and hook it up to your python
> scripts in a pipe line from a shell wrapper.

Or use a different preprocessor, such as m4, that
doesn't clash with the # character.

-- 
Greg



More information about the Python-list mailing list