73fd17b8b1
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. Author: Ned Batchelder WWW: http://www.nedbatchelder.com/code/cog/index.html PR: ports/111046 Submitted by: Alex Pesternikov <apesternikov at page2rss.com>
7 lines
348 B
Text
7 lines
348 B
Text
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.
|
|
|
|
Author: Ned Batchelder
|
|
WWW: http://www.nedbatchelder.com/code/cog/index.html
|