5drw
last updated 2 years ago by Baseline #
The reason I personally like showing the interpreter output is because it's much easier to show... the interpreter output. Like where I wrote bobby.marks and the output (empty list) was shown on the next line.
That's never as clear when you do it without the >>> (and you can't copy and paste anyway, because if you start pasting in copied output, you'll get errors)
Comments
That sounds like a neat feature to try plugging into IPython. doctest.DocTestParser could be used at some level to parse out the interpreter characters and leave just the required code. Interesting...
Baseline 2 years ago #

It'd be pretty cool if the Python interpreter ignored those marks. Considering they're being used in stuff like
doctestas well, this makes a lot of sense.AaronSw 2 years ago #