首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 支持C风格的预处理器指令在Python

支持C风格的预处理器指令在Python

资 源 简 介

pypreprocessor 0.4.0 (beta) Features support c-style directives in python * using an intentionally limited subset of the c directives, and then some... can run post-processed code on-the-fly * pre-process and run code all in one shot * accurately preserves error tracebacks for the source file can output to a file * as easily as setting a flag * with a user specified filename if defined can strip all pre-processor data from the output * as easily as setting a flag * removes all preprocessor directives * removes all preprocessor specific code #defines can be set in code prior to processing * useful if you need to run a file in different modes * eliminates the need for decision logic in the preprocessor itself Benefits

文 件 列 表

pypreprocessor-0.4.0
test.py
LICENSE.txt
CHANGELOG.txt
INSTALL.txt
setup.py
README.txt
PKG-INFO
pypreprocessor.py
TODO.txt
VIP VIP
0.207002s