mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
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>
8 lines
348 B
Plaintext
8 lines
348 B
Plaintext
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
|