Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3313

Re: Python IDE/text-editor

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; 'folks': 0.04; 'rejected': 0.04; 'scripting': 0.05; 'subject:editor': 0.05; 'python': 0.07; 'coding.': 0.09; 'output': 0.12; 'am,': 0.14; 'gui': 0.14; 'wrote:': 0.14; '-tkc': 0.16; 'emacs': 0.16; 'finney': 0.16; 'fits': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'message- id:@tim.thechases.com': 0.16; 'received:70.251': 0.16; 'received:dsl.rcsntx.swbell.net': 0.16; 'received:rcsntx.swbell.net': 0.16; 'received:swbell.net': 0.16; 'row': 0.16; 'subject:IDE': 0.16; 'dependent': 0.16; 'shell': 0.19; 'stick': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'seems': 0.21; 'support,': 0.22; 'code': 0.22; 'header:In- Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'version': 0.25; 'script': 0.26; 'there.': 0.26; 'supports': 0.29; 'are.': 0.29; 'list': 0.30; 'cc:addr:python.org': 0.31; '(so': 0.31; 'buffer,': 0.31; 'skip:! 10': 0.31; 'second': 0.31; 'does': 0.31; 'another': 0.32; 'idea': 0.32; "i've": 0.33; 'things': 0.33; 'bit': 0.33; 'several': 0.33; 'using': 0.34; 'received:70': 0.34; 'header:User- Agent:1': 0.35; 'pull': 0.35; 'running': 0.36; 'subject:/': 0.36; 'think': 0.36; 'either': 0.37; 'run': 0.37; 'but': 0.38; 'pretty': 0.38; 'used': 0.38; 'though': 0.38; 'built': 0.39; '[1]': 0.39; 'likely': 0.39; 'add': 0.39; 'subject:text': 0.40; "it's": 0.40; 'bring': 0.62; 'marked': 0.65; 'capabilities': 0.72; 'evaluate': 0.72; 'skip:\xe2 10': 0.72; '02:17': 0.84; 'console,': 0.84; 'invested': 0.84; 'mouse': 0.93
Date Sat, 16 Apr 2011 06:35:47 -0500
From Tim Chase <python.list@tim.thechases.com>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version 1.0
To Ben Finney <ben+python@benfinney.id.au>
Subject Re: Python IDE/text-editor
References <mailman.407.1302924034.9059.python-list@python.org> <8739lij2h7.fsf@benfinney.id.au> <87r59269y4.fsf@castleamber.com> <mailman.409.1302932641.9059.python-list@python.org> <87wriuhdgh.fsf@benfinney.id.au>
In-Reply-To <87wriuhdgh.fsf@benfinney.id.au>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Source
X-Source-Args
X-Source-Dir
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.421.1302953763.9059.python-list@python.org> (permalink)
Lines 59
NNTP-Posting-Host 82.94.164.166
X-Trace 1302953763 news.xs4all.nl 41102 [::ffff:82.94.164.166]:41818
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3313

Show key headers only | View raw


On 04/16/2011 02:17 AM, Ben Finney wrote:
> Emacs can run Python in a buffer, and has “tabbar-mode” to
> display a row of tabs
>
> Likely the same features are available in Vim, by I've never
> used Vim for lots of Python coding.

Vim since v7 has offered tabs, though I personally stick mostly 
to split-panes ("windows" in vim parlance).

   :help tab-page

The GUI version (gvim) offers mouse support; the console version 
supports the mouse as well, but may be a bit more fiddly as 
mouse/console interactions often are.

   :help mouse-using

As for running a python shell within Vim, the idea of an embedded 
pseudo-tty (so that means an embedded console, python shell, or 
just running any other console program) has been pretty 
resolutely rejected by the maintainers.  I think there's an 
unofficial patch[1] to add the support, but most folks just bring 
up a second console/terminal and run things there.  For me, it's 
either using "screen" or just another xterm/rxvt window.

   :help shell-window

That said, Vim does have Python scripting capabilities as well, 
so you can control vim with Python code

   :help python

and Vim can evaluate python if it was built as such (check the 
output of ":version" for "+python").  Additionally, you can 
always run your Vim script and pull the output into a buffer 
somewhere:

   :r !my_script.py
   :r !python my_script.py

(form dependent on whether your script is marked executable)

To the OP, try both Vim & Emacs and see which fits your head 
better.  They're both great editors and will provide a lifetime 
of returns on the time invested learning them.  Vim fits me 
better; Emacs seems to better fit several of the other folks on 
the list who responded.

-tkc

[1]
http://www.wana.at/vimshell/

http://stackoverflow.com/questions/2782752/how-can-i-open-a-shell-inside-a-vim-window



Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-16 13:20 +1000
  Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-16 13:32 +1000
    Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 00:29 -0500
      Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-16 15:43 +1000
        Re: Python IDE/text-editor harrismh777 <harrismh777@charter.net> - 2011-04-16 00:55 -0500
          Re: Python IDE/text-editor Algis Kabaila <akabaila@pcug.org.au> - 2011-04-16 17:18 +1000
        Re: Python IDE/text-editor CM <cmpython@gmail.com> - 2011-04-15 23:31 -0700
          Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-16 17:03 +1000
          Re: Python IDE/text-editor Terry Reedy <tjreedy@udel.edu> - 2011-04-16 13:05 -0400
            Re: Python IDE/text-editor harrismh777 <harrismh777@charter.net> - 2011-04-18 02:12 -0500
        Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-16 17:17 +1000
          Re: Python IDE/text-editor Tim Chase <python.list@tim.thechases.com> - 2011-04-16 06:35 -0500
        Re: Python IDE/text-editor Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-04-16 10:59 +0000
          Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 08:07 -0500
            Re: Python IDE/text-editor flebber <flebber.crue@gmail.com> - 2011-04-16 06:45 -0700
          Re: Python IDE/text-editor Cameron Simpson <cs@zip.com.au> - 2011-04-18 06:31 +1000
        Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 08:04 -0500
          Re: Python IDE/text-editor Adam Tauno Williams <awilliam@whitemice.org> - 2011-04-16 09:50 -0400
            Re: Python IDE/text-editor candide <candide@free.invalid> - 2011-04-16 22:12 +0200
              Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 17:14 -0500
                Re: Python IDE/text-editor Westley Martínez <anikom15@gmail.com> - 2011-04-16 15:31 -0700
                Re: Python IDE/text-editor Chris Angelico <rosuav@gmail.com> - 2011-04-17 09:08 +1000
                Make Python "portable" by default! (Re: Python IDE/text-editor) Wolfgang Keller <feliphil@gmx.net> - 2011-04-17 11:13 +0200
                Re: Make Python "portable" by default! (Re: Python IDE/text-editor) Chris Angelico <rosuav@gmail.com> - 2011-04-17 19:39 +1000
                Re: Make Python "portable" by default! (Re: Python IDE/text-editor) Wolfgang Keller <feliphil@gmx.net> - 2011-04-18 10:15 +0200
                Re: Make Python "portable" by default! (Re: Python IDE/text-editor) Chris Angelico <rosuav@gmail.com> - 2011-04-18 18:33 +1000
                Re: Make Python "portable" by default! (Re: Python IDE/text-editor) flebber <flebber.crue@gmail.com> - 2011-04-18 02:59 -0700
                Re: Make Python "portable" by default! (Re: Python IDE/text-editor) JussiJ <jussij@zeusedit.com> - 2011-05-23 22:19 -0700
                Re: Python IDE/text-editor Westley Martínez <anikom15@gmail.com> - 2011-04-17 13:13 -0700
                Re: Python IDE/text-editor egbert <egbertum@xs4all.nl> - 2011-04-17 22:51 +0200
        Re: Python IDE/text-editor flebber <flebber.crue@gmail.com> - 2011-04-16 06:40 -0700
          Re: Python IDE/text-editor Adam Tauno Williams <awilliam@whitemice.org> - 2011-04-16 09:52 -0400
      Re: Python IDE/text-editor Daniel Kluev <dan.kluev@gmail.com> - 2011-04-16 20:18 +1100
        Re: Python IDE/text-editor jacek2v <jacek2v@gmail.com> - 2011-04-16 02:32 -0700
          Re: Python IDE/text-editor TP <wingusr@gmail.com> - 2011-04-16 07:24 -0700
        Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-16 19:58 +1000
      Re: Python IDE/text-editor Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-04-16 13:48 +0200
  Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-15 21:12 -0700
  Re: Python IDE/text-editor TerrorBite Lion <terrorbite@lethargiclion.net> - 2011-04-15 21:36 -0700
  Re: Python IDE/text-editor jmfauth <wxjmfauth@gmail.com> - 2011-04-16 00:02 -0700
  Re: Python IDE/text-editor Ton van Vliet <sheep.in.herd@green.meadow> - 2011-04-18 13:08 +0200
    Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-19 00:40 +1000
      Re: Python IDE/text-editor Teemu Likonen <tlikonen@iki.fi> - 2011-04-19 06:51 +0300
        Re: Python IDE/text-editor Westley Martínez <anikom15@gmail.com> - 2011-04-18 21:17 -0700
          Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-18 21:37 -0700
            Re: Python IDE/text-editor Chris Angelico <rosuav@gmail.com> - 2011-04-19 14:44 +1000
              Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-18 22:00 -0700
          Re: Python IDE/text-editor Teemu Likonen <tlikonen@iki.fi> - 2011-04-20 15:40 +0300
            Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-27 16:10 +1000
              Re: Python IDE/text-editor Stefaan Himpe <stefaan.himpe@gmail.com> - 2011-04-27 20:28 +0200
      Re: Python IDE/text-editor Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-04-28 16:21 +0000
        Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-29 03:03 +1000
        Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-05-02 01:47 +1000
    Re: Python IDE/text-editor Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-04-18 17:23 +0200
    Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-19 02:41 +1000
    Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-19 13:44 +1000
      Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-19 14:32 +1000
        Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-18 21:40 -0700
    Re: Python IDE/text-editor Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-04-19 12:19 +0200
  Re: Python IDE/text-editor JussiJ <jussij@zeusedit.com> - 2011-05-05 21:39 -0700
    Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-05-07 00:55 +1000
    Re: Python IDE/text-editor "emato" <emato@nothere.tampabay.com> - 2011-05-07 14:29 -0400
      Re: Python IDE/text-editor Matty Sarro <msarro@gmail.com> - 2011-05-08 07:52 -0400
  Re: Python IDE/text-editor Mali Laurent <i.m.laurent@gmail.com> - 2011-05-08 21:31 -0700

csiph-web