[Tutor] Power Shells [WAS:] optimization: faster than for

bhaaluu bhaaluu at gmail.com
Mon Jul 2 14:18:29 CEST 2007


I am new, and have been lurking and reading Python tutorials in the
background, while reading the posts from this list. Since I have looked
at so many things, I'm not sure where I found this, but it works great
(I'm running a version of Debian GNU/Linux).     I use the vim text editor,
and this is a .vimrc file that makes vim work just like an IDE:

---------------------8<-----cut here------->8-------------

" .vimrc
" Created by Jeff Elkner 23 January 2006
" Last modified 2 February 2006
" Turn on syntax highlighting and autoindenting
syntax enable
filetype indent on
" set autoindent width to 4 spaces (see
" http://www.vim.org/tips/tip.php?tip_id=83)
set nu
set et
set sw=4
set smarttab
" Bind <f2> key to running the python interpreter on the currently active
" file.  (curtesy of Steve Howell from email dated 1 Feb 2006).
map <f2> :w\|!python %<cr>

---------------------8<-----cut here------->8-------------

Otherwise, I just use the vanilla Python interactive interpreter.
I have tried IDLE, but didn't care for it.

This is a great computer programming list.
Many thanks to everyone who contributes.
bhaaluu at gmail dot com

On 7/1/07, ALAN GAULD <alan.gauld at btinternet.com> wrote:
> > It's IPython -- http://ipython.scipy.org/moin/
> Now for some reason I assumed IPython was the IDE for IronPython.
> Having checked out the web link its obviously completely unrelated!
> PyCrust, IPython, SPE, Eclipse/PyDev
> Suddenly it seems like I have an embarassment of advanced
> shells to choose from. At risk of starting a religious war, who
> favours which and why?
> Alan G.
> (Currently using PyCrust and playing with SPE)

More information about the Tutor mailing list