aboutsummaryrefslogtreecommitdiff
path: root/devel/py-cog/pkg-descr
blob: 8e2412477f260555c3704e2429536e4b4b30f7df (plain) (blame)
1
2
3
4
5
6
Cog transforms files in a very simple way: it finds chunks of Python code
embedded in them, executes the Python code, and inserts its output back into
the original file. The file can contain whatever text you like around the
Python code. It will usually be source code.

WWW: http://www.nedbatchelder.com/code/cog/index.html