IDE

T

Thomas Lindgaard

Hello

I am probably going to start a war now... but so be it :)

I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).

.... and no, Emacs or Vi are not what I want :)
 
T

Tor Iver Wilhelmsen

Thomas Lindgaard said:
I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).

If you want to target .Net:

http://www.activestate.com/Products/Visual_Python/

I thought they had something for "non-.Net" Python as well, but can't
see anything.
 
M

Mike C. Fletcher

Thomas said:
Hello

I am probably going to start a war now... but so be it :)
Mmm editor wars.
I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).
For Win32, PythonWin (though it doesn't have what I think you're
thinking of as a "source browser"). For Linux, Eric3 (make sure to get
the latest release, Gentoo, at least, has an old one as "stable"), which
is probably what you want (since you mention the KDE editor Kate).
SciTe is also popular, but it's a bare-bones editor, while Eric is an
all-singing-all-dancing IDE. Finally, though I've not tried it, Eclipse
apparently has some Python plugins somewhere.

Have fun,
Mike

________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
blog: http://zope.vex.net/~mcfletch/plumbing/
 
C

Christopher T King

For Win32, PythonWin (though it doesn't have what I think you're
thinking of as a "source browser").

Actually, it does (Tools->Browser, Tools->Browse PythonPath). It even has
COM browsing built in (at least in the ActiveState version, unsure about
the others). Nifty stuff!

Also, pydoc should suffice for most "source browsing" needs: pydoc -p 8080
(python c:/python23/Lib/pydoc.py -p 8080 on Windows) will start an HTTP
server on localhost:8080 you can use for module browsing (even of your own
classes). pydoc -g will do the same, but also pop up a nifty little
search window.
 
P

Paul Morrow

Up until about a month ago, I used Boa (the cvs version), ActiveState's
PythonWin (great help file!), and SciTe.

But then I took another look at Wing IDE. Check out their new beta
version 2.0 --- it's $179 US, but is *very* good compared to the 'free'
alternatives. We liked it so much that we bought 11 developer licenses.
You can download a 10 day trial (extendable for another 10 days) to
see for yourself.

http://c2.com/cgi/wiki?PythonIde lists the other Python IDEs out there.

Paul
 
C

chris

Thomas said:
Hello

I am probably going to start a war now... but so be it :)

I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).

... and no, Emacs or Vi are not what I want :)

you might want to try SPE http://spe.pycs.net/ which altough a 0.5
release is quite stable and has lots of features which might come in
handy...

cheers
chris
 
P

Peter Milliken

Let's not do the war thing :) But perhaps an exchange of information?

Me, I use Emacs - have done so for 20 years now with never a regret. When I
see a feature that I like (enough) in another editor I implement it in Emacs
(if it doesn't already have it - something that is getting harder and harder
to do these days :)). I understand completely that many do not like Emacs
because of the "magic incantations" required to run commands i.e. sets of
key sequences - but I don't like using mice and menus - takes longer than
keyboard access (right hand off the keyboard onto the mouse, then back
again) and how else can you provide efficient access to such a wealth of
commands? :) But I shouldn't digress into look and feel - many an argument
could be had with a Vi user over that! :)

So what are the interesting "features" (as opposed to "I just like the look
and feel of editor X" - I don't desire a discussion on "warm, fuzzy
feelings" about your favourite editor - we all know how "religious" these
things can be :)) in any of the editors that people have settled upon for
their personal use? For example the following comment is made in another
(later) thread:

"augment Leo's mind blowing qualities" - which means what? :) Other than
the fact the writer likes Leo? :)

I'll (attempt) to kick the discussion off with the features of Emacs that I
like and use in everyday programming of Python (not necessarily in order of
importance :)):

1. available for any OS/platform that I have worked on over the last 20
years and the forseeable future - the one time I couldn't get a native
binary was for VMS and the company didn't want the expense of installing NFS
so then I used the (transparent) ftp access built into Emacs to edit files
on the VMS file system all from a PC running Windoze (ange-ftp allows
editting of files that are accessed using standard ftp operations but are
hooked into the standard Emacs read/write file commands - so the user is
"unaware" of the file access mechanism).

2. the (obvious) generic IDE capability i.e. compile and debugging from
within the editor

3. code completion - a la LSE from the VMS editor of that name (see the
reference to ELSE on http://www.python.org/cgi-bin/moinmoin/EmacsEditor) -
note this is not "syntax completion", although I have written some code that
allows scanning of Python modules and then generation of code templates for
ELSE that generate call templates with the named parameters filled in and
code templates for where the coder must supply the arguments. But I guess I
am not big on "syntax completion" - I haven't really used to the code since
I wrote it, although I do use ELSE itself extensively in writing my Python
code :)

4. User extendable using either Lisp or Python ( :) ) - (see the reference
to Pymacs on http://www.python.org/cgi-bin/moinmoin/EmacsEditor).
"Extendability" of the editor to create new commands/functionality as
opposed to "macro" capability.

5. Integration with Ispell/Aspell i.e. Emacs is intelligent enough to spell
check only the comments and strings - which can be extremely handy when
writing code! Nothing more embarrassing than a poorly spelt message to a
user! :)

6. Unix "screen" like capability i.e. having multiple "virtual" instances of
the editor (each with its own window/buffer view) available via simple key
switching - but not "cluttering" the Windoze landscape with multiple
instances (although you can configure Emacs to work that way too :)).

7. Given sufficient physical screen real-estate, you can "split" the editor
display into multiple "windows" - both horizontally and vertically - the
number of "splits" limited only by the physical display. My "faviourite"
configuration is two vertical, 80 column windows side-by-side - one or both
then generally get split horizontally as I look at other files or positions
within the same file.

8. "Free" - in this day of powerful editors that are available for zero
cost, why purchase one? Either shareware or commercial?

9. syntax highlighting (almost not worth mentioning since it is so common?)

These are just some of the reasons I use Emacs. What features of *your*
editor attracted you? How does it help you with writing Python code (the
intent after all of this news group :)). Does your editor have a feature
that I have not listed above and yet you consider it *essential* (or at
least very handy :)) in your generation of Python code?

So whilst I know that Thomas does not "want Emacs or Vi", I believe my
response is in the spirit of the original email :)

Regards
Peter
 
M

Markus Wankus

Thomas said:
Hello

I am probably going to start a war now... but so be it :)

I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).

... and no, Emacs or Vi are not what I want :)

If you don't mind "bleeding edge" software - pydev for Eclipse is coming
along. You can try it for yourself:

http://pydev.sourceforge.net/

Markus.
 
E

Ed Leafe

These are just some of the reasons I use Emacs. What features of *your*
editor attracted you? How does it help you with writing Python code
(the
intent after all of this news group :)). Does your editor have a
feature
that I have not listed above and yet you consider it *essential* (or at
least very handy :)) in your generation of Python code?

I develop on multiple platforms, but only have an OS X machine in my
office. My other systems are accessible via ssh, vnc and RemoteDesktop.

I use BBEdit, the venerable text editor for the Mac. Yeah, it has all
the usual stuff that many other editors have, but the one thing I find
indespensible (being lazy and all) is a plug-in called
'BBAutoComplete'. In a nutshell, it keeps track of *every* word you've
written in *every* open editor window, and will auto-complete
*anything*. Pressing its hotkey cycles through all potential matches,
starting with the most recent word that begins with what you've typed.

For a lazy person like me, it's amazingly valuable. I find myself
hitting the hotkey in other editors and even when composing mail
messages such as this. I even do a lot of my Visual FoxPro coding in
BBEdit now, even though it doesn't have syntax coloring for it.

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/
 
V

Ville Vainio

Markus> If you don't mind "bleeding edge" software - pydev for
Markus> Eclipse is coming along. You can try it for yourself:

Markus> http://pydev.sourceforge.net/

Too bad pydev development seems to be stopping - the developer is
losing interest in the project (or at least that is what is said on
the project page). I tried it yesterday, it seems very promising
(though the debugger was very slow).

Eclipse is the only candidate worthy of replacing Emacs in the future,
so here's to hoping someone will adopt the pydev project at some
point.
 
V

Ville Vainio

Peter> Let's not do the war thing :) But perhaps an exchange of
Peter> information?

Peter> Me, I use Emacs - have done so for 20 years now with never
Peter> a regret. When I

I use Emacs as my main editor/mail/news too. Too bad Emacs seems to
lack the development energy these days to match the features of modern
IDEs. I'm mostly talking about features like robust code completion
for C++ - cedet doesn't cut it yet (though it'll hit 1.0 RSN), and
there just isn't enough developers to make it work hitchlessly. There
seems to be a resource shortage on xemacs side, and GNU emacs is,
well, too RMSic to do anything modern. Now they are integrating GTK,
which is a good sign of course ;-).

Lately I've been starting to hope that Eclipse project would take the
role of Ultimate Editor That Will Be Around Tomorrow - something which
you can expect to use 10 years from now. It has its shortcomings (big,
slow, Java), but it's the best we've got so far.

Peter> key sequences - but I don't like using mice and menus -
Peter> takes longer than

Yes, complete keyboard is a must for something you plan on using all
the time.

Peter> their personal use? For example the following comment is
Peter> made in another (later) thread:

Peter> "augment Leo's mind blowing qualities" - which means what?
Peter> :) Other than the fact the writer likes Leo? :)

As the author of the comment, I think I need to explain a bit. Leo is
mindblowing, not as an editor but as an intelligence management
platform. I could easily imagine project managers using it to organize
things. It seems to have endless usage possibilities, of which
programming (or text editing is only a fraction). Ed was talking about
implementing a multi-user editor, and I imagined it would be quite
sweet to have outlines there too, from team collaboration perspective.

Peter> code templates for where the coder must supply the
Peter> arguments. But I guess I am not big on "syntax completion"
Peter> - I haven't really used to the code since I wrote it,
Peter> although I do use ELSE itself extensively in writing my
Peter> Python code :)

Syntax completion (or semantic completion, or "intellisense" - syntax
completion suggests insertion of code templates, which are simple in
python anyway) is very handy in multi-person projects, or projects
that have craploads of code written by other people - sdk developers,
various subcontractors, whatever. Maybe less so in Python - for some
reason Python code is usually more "direct" and elegant - but it would
help a lot. We need some kind of static type information to provide
intellisense for Python, though. It's just something that needs to be
standardized in the language level, so tool writers can proceed with
implementing the intellisense.

Peter> 4. User extendable using either Lisp or Python ( :) ) -
Peter> (see the reference

Here I hope eclipse + jython will turn out to be the "preferred" way
to extend the platform. Maybe someday :).

Peter> 8. "Free" - in this day of powerful editors that are
Peter> available for zero cost, why purchase one? Either shareware
Peter> or commercial?

Yes, this is a must. Free beer & speech. Eclipse seems to combine the
best of both worlds here - the platform is free, but companies can
sell plugins for money. That way you are not "trapped" and can hold on
to your editing habits, while using some commercial stuff for exta
functionality; it won't hurt if it's company money :).
 
W

Wolfgang Langner

Hello,

Ville said:
Markus> If you don't mind "bleeding edge" software - pydev for
Markus> Eclipse is coming along. You can try it for yourself:

Markus> http://pydev.sourceforge.net/

Too bad pydev development seems to be stopping - the developer is
losing interest in the project (or at least that is what is said on
the project page). I tried it yesterday, it seems very promising
(though the debugger was very slow).

I think the project is very activ:

Activity Percentile (last week): 98.4802%

Last release:

pydev 0.5, the katzenmeyer kids July 12, 2004

if the developer is losing interest, he does it on a very hight level. :)

bye by Wolfgang
 
S

Steve Lamb

I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).

Kdevelop3?
boa-constructor?
 
V

Ville Vainio

Wolfgang> I think the project is very activ:

Wolfgang> Activity Percentile (last week): 98.4802%

Wolfgang> Last release:

Wolfgang> pydev 0.5, the katzenmeyer kids July 12, 2004

Wolfgang> if the developer is losing interest, he does it on a
Wolfgang> very hight level. :)

Apparently he's "finishing" it.

From http://pydev.sourceforge.net/ :

Future My plans for the future are:

- 0.5 will be a bug-fix release, I am sure there are a few, there has
been a lot of new code between 0.3 & 0.4.

- 1.0 will be an Eclipse 3.0 compatibility release. There are some new
debugger features like an environment tab that are cheap to implement,
and very useful.

And that's it. Over & out, off to new projects.

So if you like this tool, it'll be up to you to take it to where you
want it to be.
 
N

neblackcat

Personally I think its hard to look past Komodo these days:

a) very cheap (personal edition)

b) edits, debugs (locally and remotely, with all the debugging
features that you expect) and has projects

c) cross platform (you get licenses for both Win32 and Linux versions
automatically)

d) isnt Python specific (eg. works just as well for PHP)

e) a lot faster and more stable than it used to be (probably due to
its much improved underlying Mozilla code of late)

I've only really got 2 complaints with it:

a) No Brief keyboard mappings :-(
b) Cant inspect a variable by hovering the mouse above it when
debugging

I've also tried their VisualPython and didnt really think it was any
better, though a hell of a lot more expensive (and still no Brief
keyboard mappings).

Just my 2.6 australian cents
 
T

Thomas Lindgaard

So whilst I know that Thomas does not "want Emacs or Vi", I believe my
response is in the spirit of the original email :)

It is indeed :)

But I just think that I could ever learn all those keyboard shortcuts...
and I've tried a few times to install new modes (eg. PHP-mode) - sometimes
with success :) - but Emacs and I will never be best friends.

<war disregard="yes please do">
It's a great editor for yum.conf and the like, though.
</war>
 
M

Markus Wankus

Ville said:
Markus> If you don't mind "bleeding edge" software - pydev for
Markus> Eclipse is coming along. You can try it for yourself:

Markus> http://pydev.sourceforge.net/

Too bad pydev development seems to be stopping - the developer is
losing interest in the project (or at least that is what is said on
the project page). I tried it yesterday, it seems very promising
(though the debugger was very slow).

Eclipse is the only candidate worthy of replacing Emacs in the future,
so here's to hoping someone will adopt the pydev project at some
point.

I agree. I think there are a few other developers on the project that
will take over where Aleks leaves off. I will definitely get involved
in the future as time permits. I think this project will rock if we
could integrate jpype when it is ready (http://jpype.sourceforge.net/).

But you are correct - you do need some sort of type system in the
language to get all the features of the Java editor. You could do some
rudimentary stuff (like the way Pythonwin works for instance) right
away. The big thing we need is a *real* debugger - the editor stuff can
come later.
Seeing just how amazing Eclipse is for Java development makes me wonder
if the designers of Java had more than the language in mind when
developing it. Perhaps they were thinking ahead to the future of the
IDE they would use to develop the language....

Markus.
 
A

A.M. Kuchling

- 1.0 will be an Eclipse 3.0 compatibility release. There are some new
debugger features like an environment tab that are cheap to implement,
and very useful.
And that's it. Over & out, off to new projects.

It looks like I might begin working with Eclipse as part of my job,
developing plugins for our internal use. Having Python support would
therefore be useful; is anyone else interested in helping to maintain
Eclipse/Python support?

--amk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,664
Latest member
RoseannBow

Latest Threads

Top