Editing text with an external editor in Python

alister alister.nospam.ware at ntlworld.com
Wed Sep 3 04:06:21 EDT 2014


On Tue, 02 Sep 2014 18:45:54 +1000, Chris Angelico wrote:

> On Tue, Sep 2, 2014 at 6:35 PM, alister
> <alister.nospam.ware at ntlworld.com> wrote:
>> if edlin is your only option then it would be better to spend you time
>> writhing your own text editor!
> 
> Heh!
> 
> Considering how easy it is to deploy a multi-line edit widget in any GUI
> toolkit, it shouldn't be too hard to write a GUI text editor. Now,
> writing a *good* GUI text editor, that's a bit harder. And of course,
> writing a text/console text editor, that's also less simple. But I put
> it to you: How do you write your editor up to the point where you can
> use it to write your editor? We have a bootstrapping problem!
> 
> ChrisA

fortunately i have a proper operating system now so I don't have have to 
use edlin. in the unlikely event that a reasonably featured editor is not 
available I can always use cat :-)



-- 
Nothing is finished until the paperwork is done.



More information about the Python-list mailing list