Many Montreal Python developers use command line editors EMACS and
VIM. Being command line tools, there is no mouse support. Instead,
control over the file is through key command (eg. to search through a
file in Vim, you would press slash—/—then the characters you're
looking for.)
I have personally tried using a tool like Eclipse for Python
programming but it feels too bulky.
I hear textmate is very nice. Why would you switch?
Dimitry
2011/3/19 Duraid <dur...@gmail.com>:
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Montréal-Python.
> Pour envoyer un message à ce groupe, adressez un e-mail à montrea...@googlegroups.com.
> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse montrealpytho...@googlegroups.com.
> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
>
>
I've had mouse support out of the box in Emacs for the past decade.
If you want to avoid mouse support, you need to actively disable it.
--
Yannick Gingras
http://ygingras.net
I beg to disagree. My vim runs in a terminal, in a screen session, and has
mouse support, scroll wheel included. :)
--
Nicolas Cadou
(514) 664-5284
Do you use vim vanilla or is it customized in some sort? also any other tools than the editor.. like for debugging?
--
Duraid
Sent with Sparrow
On Saturday, March 19, 2011 at 2:33 PM, Derek Mounce wrote:
It's probably because this question comes up very often and that
everyone is tired of repeating themselves. Maybe we should put a page
on the wiki. The last time we had this discussion, some popular
on-the-side tools to go with "plain" editors were:
* WebError
* import ipdb; ipdb.set_trace()
* pyflakes
* nose
It's worth mentioning that IDEs such as Eclipse+PyDev and WingIDE
work for some and not for others. Give it a try and see what you
like.
Personally, I use Emacs but mostly because I'm used to it. I don't
think it's particularly optimized for Python development. I've seen
super stars being very efficient with GEdit and TextMate. You should
worry more about the libraries that you use that about your editor.
Hi,
I'm new to python and I'm still not settled on my python environment,
i.e. what tools to use for developing with python.
It is scriptable with Python. It gives you code coverage. It analyzes the code with Pylint. It also has templates.
Right now for my experimentation and writing small scripts i use
TextMate and 2 terminals: one for running the script and one python
shell to run snippets and use the help function. I like textmate
because it's fast to launch and has nice syntax highlighting.
I downloaded Pycharm and tried it. I like it's refactoring and
intellisense support but I'll probably leave it for developing bigger
applications.
I'm curious how do you guys write your python code? maybe i could
steel one tip or two:)
Duraid
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Montréal-Python.
Pour envoyer un message à ce groupe, adressez un e-mail à montrea...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse montrealpytho...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
I used to use Emacs for Python development, and liked it. There is (or
at least was) many facilities to ease Python highlighting, indentation,
and such.
Later, when I much tried to avoid Emacs (as a furious attempt to break
out of the addiction! ☺), I got used to Vim for Python development, and
found it fast and convenient enough (even if a bit less clever, or let's
rather say "different", about indentation). All in all, Vim is quite
comfortable for Python edition.
One attractive feature is editor extensibility, especially if you use it
a lot. For Vim, it may be built with Python enabled, and "gvim" is
usually distributed with Python already enabled. So you can use Python
to augment the editor with new commands. On the Emacs side, I gave
myself the ability of extending with Python instead of Emacs Lisp
(through Pymacs, which some of you might know). I made a great deal of
customization to Vim for easing some complex Python edition tasks, but
the need progressively vanished, and I do not use them much anymore.
I also tried Pydev (on the Eclipse side) which is surely as heavy as
Eclipse itself. It also clashes destructively with SchemeScript (an
Eclipse addition for handling Scheme), and having to choose between
Python and Scheme on Eclipse, I had to select Scheme.
I've been more happy with Wing IDE. Yet, I'm uncomfortable with the
required NDA if you want to really extend it with Python, so I currently
don't. I particularly appreciate the debugger integration, the
on-the-fly source help, and the project switching.
Of course, IPython is nicer and nicer as time goes. I did not use it
much recently, with the impression left of some slowness, and many
things to configure. I should likely revisit it! ☺
François
Le 2011-03-19 15:21, Duraid a écrit :
I also tried Pydev (on the Eclipse side) which is surely as heavy as
Eclipse itself. It also clashes destructively with SchemeScript (an
Eclipse addition for handling Scheme), and having to choose between
Python and Scheme on Eclipse, I had to select Scheme.
François
--
You could have used two different Eclipse installations to avoid such a clash.
A+
-------------
Pierre
My blog (http://pierrethibault.posterous.com)
YouTube page (http://www.youtube.com/user/tubetib)
Twitter (http://twitter.com/pierreth2)
Google profile (http://www.google.com/profiles/pierre.thibault1)
I'm new to python and I'm still not settled on my python environment, i.e. what tools to use for developing with python.
2011/3/19 François Pinard <pin...@iro.umontreal.ca>:
Hi,
How to make Eclipse+PyDev play nice with virtualenv? I tried couple
different ways but it doesn't work as I want it to work. How do you
solve this problem?
Thanks,
Duraid
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Montréal-Python.
Pour envoyer un message à ce groupe, adressez un e-mail à montrea...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse montrealpytho...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
Personally I use virtualenvs for all projects. Even when using zc.buildout I
wrap it in a virtualenv.