pyEdlin | |
Sourceforge.net | Sourceforge Project Page | |
pyEdlin implements an edlin-style line editor, allowing you to edit any list-like buffer a line at a time.I have often found myself attempting to prototype a method or class at the interactive python interpreter. While this works for simple methods or classes, I frequently find myself needing to make a change to some portion of what I have already entered. Unable to find any tools that fit what I was trying to accomplish, I decided to create an interactive line editor that could run python code. edlin isn't terribly complex, so I figured it would be a good place to start.
Using pyEdlin is fairly straight-forward, and generally follows this pattern: The asterisk ('*') is pyEdlin's prompt, just like in edlin.
To begin typing code, use the Append command, 'a':
There are a few caveats you should be aware of.
pyEdlin is an open-source project released under a BSD-style license. As it is currently implemented in pure Python, it should be fairly cross-platform. It has only been tested, however, on Windows XP and FreeBSD 4.8. As far as legal issues goes, edlin is Copyright © Microsoft Corporation, I believe. This implementation was done as a 'clean-room' reverse-engineer, by observing how edlin operates and mimicking it's behavior. |
|
All Rights Reserved. |