gpp (conditional compilation)
John Nagle
nagle at animats.com
Wed May 2 13:48:12 EDT 2007
maxwell at ldc.upenn.edu wrote:
> I'm trying to use the gpp utility (Gnu points to http://en.nothingisreal.com/wiki/GPP)
> to do conditional compilation in Python, and I'm running into a
> problem: the same '#' character introduces Python comments and is used
> by default to introduce #ifdef etc. lines.
Just use an "if" statement. The Python interpreter is so slow
it won't matter.
John Nagle
More information about the Python-list
mailing list