any macro-like construct/technique/trick?
Andrew Dalke
dalke at dalkescientific.com
Sun Jun 5 08:46:18 EDT 2005
Mike Meyer wrote:
> I've never tried it with python, but the C preprocessor is available
> as 'cpp' on most Unix systesm. Using it on languages other than C has
> been worthwhile on a few occasions. It would certainly seem to
> directly meet the OP's needs.
Wouldn't that prohibit using #comments in the macro-Python code?
I suppose they could be made with strings, as in
"here is a comment"
do_something()
but it's ... strange.
Andrew
dalke at dalkescientific.com
More information about the Python-list
mailing list