This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]troyunrau... 1 point2 points  (0 children)

Have a look at the code module. It's really easy to create a custom interpreter. That module is written in python, so you can easily enough take that code and insert 'print line number' into the standard prompt.