Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:text': 0.05; 'subject:Python': 0.06; 'deploy': 0.09; 'editor.': 0.09; 'subject:editor': 0.09; 'cc:addr:python-list': 0.11; 'gui': 0.12; 'editor,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'problem!': 0.16; 'simple.': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'widget': 0.19; 'cc:addr:python.org': 0.22; "shouldn't": 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'sep': 0.31; 'option': 0.32; 'text': 0.33; 'subject:with': 0.35; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'too': 0.37; 'pm,': 0.38; 'how': 0.40; 'easy': 0.60; 'you:': 0.81; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=5l6HEMUYPIEbShUJAtXTBcSiKCLWjzUnDEcKwqNf53A=; b=SeW33Xoj/AaXL96Mn17QakvPMT9JteER58pYNHelJgPdoQPqKa8gwc5KDsWpWMfHVZ xvzc3QfzvYl6D074pRgv4WofiqUMs8RSxbNtQZSLqq+cnJ0cJgK1mSPx7sNkUDKkJ279 JF0qGPC0hocfEuUqRSnLivFY2TLg3bpq02jcf0qgjlOCGPOq/D4sJjSd3cTFz7VEJQiR F7RR2Y86W0MlewZui6J86sUsJV1NHTwHHYDkxxdNpaoM25FgsjKpi0CMp3Tac+V3JHnJ A4GBlEnRGrzfMQLjmhT+PLZR7DcMdCIs9y+ZxagB03I5GzuTQ6jOAiU+M4FkGk8jbN29 HDKA== MIME-Version: 1.0 X-Received: by 10.43.64.198 with SMTP id xj6mr595138icb.70.1409647554403; Tue, 02 Sep 2014 01:45:54 -0700 (PDT) In-Reply-To: References: <54049ab7$0$29972$c3e8da3$5496439d@news.astraweb.com> <5404b987$0$30001$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 2 Sep 2014 18:45:54 +1000 Subject: Re: Editing text with an external editor in Python From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1409647561 news.xs4all.nl 2845 [2001:888:2000:d::a6]:40955 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77438 On Tue, Sep 2, 2014 at 6:35 PM, alister 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