4 ms·
I was referring to Python doctests (documentation narrative with interspersed Python statements and embedded reference output). The text looked to me like one
by limmeau 14y ago
I was referring to Python doctests (documentation narrative with interspersed Python statements and embedded reference output).
The text looked to me like one could extract all the commands, run them and check their output against the embedded reference output automatically. I don't know, it had such a rigid structure.
On a second look, the output contains timestamps, so what looks like shell output is probably only shell output the author has copied once into their text.