#define (from C) in Python

greg greg at cosc.canterbury.ac.nz
Fri Nov 13 03:36:42 CET 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.


More information about the Python-list mailing list