TWPS: (T)ext (W)ith (P)ython (S)nippets preprocessor
A python package to preprocess text files with embedded Python code snippets: evaluate or execute them and replace with the result of evaluation/execution.
This package provides the ppp.py script. The script reads the file specified in the command line, finds python snippets, evaluates or executes them and writes out the file with the pyhton code replaced with the evaluateion/execution result.
For command line options see readme.rst in the twps folder or run the script without command line arguemnt.
General description with examples (somewhat outdated) can be found in the docs folder.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size twps-2.0.2.tar.gz (70.9 kB)||File type Source||Python version None||Upload date||Hashes View hashes|