473,287 Members | 3,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Looking for a good Python environment

Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?

Nov 6 '07 #1
20 6006
Pida is a nice looking IDE for Python, written in Python with GTK.
Emacs is decent, Eclipse has support, too. SciTE is a nice editor if
you are looking for something minimal (such as no debugger).

Nov 6 '07 #2
Just wrote a mini "review" of three Python code editors on my blog...

http://pyminer.blogspot.com/2007/11/...e-editors.html

I use PSPad or Notepad++ for quick editing, and Komodo Edit 4.2 for
longer sessions. Komodo Edit is the only one with code completion - a
very nice feature. You can pay $299 and get Komodo Edit, which has a
debugger.

I've only used Eclipse for Java programming, but there's a Python plug-
in called PyDev - just haven't figured out how to install it :-(

Nov 7 '07 #3
On Nov 7, 3:51 am, Jens <j3n...@gmail.comwrote:
Just wrote a mini "review" of three Python code editors on my blog...

http://pyminer.blogspot.com/2007/11/...e-editors.html

I use PSPad or Notepad++ for quick editing, and Komodo Edit 4.2 for
longer sessions. Komodo Edit is the only one with code completion - a
very nice feature. You can pay $299 and get Komodo Edit, which has a
debugger.

I've only used Eclipse for Java programming, but there's a Python plug-
in called PyDev - just haven't figured out how to install it :-(
Thanks Jeff and thanks Jen. I'll take a look at these editors to see
if they're good for me.

Nov 7 '07 #4
On Nov 6, 10:56 pm, "ram.rac...@gmail.com" <ram.rac...@gmail.com>
wrote:
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?
I currently use Python Scripter as a lightweight editor for Windows.

For project work I use Eclipse, which can be installed with PyDev and
other useful plug-ins already included if you choose a suitable
distribution of Easy Eclipse (http://www.easyeclipse.org/). There is a
distribution specifically for Python development, and also one for
LAMP, which includes a number of other components which will be of use
if you are developing for the web.

Nov 7 '07 #5
On Nov 7, 1:15 pm, jwelby <julius.we...@gmail.comwrote:
On Nov 6, 10:56 pm, "ram.rac...@gmail.com" <ram.rac...@gmail.com>
wrote:
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?

I currently use Python Scripter as a lightweight editor for Windows.

For project work I use Eclipse, which can be installed with PyDev and
other useful plug-ins already included if you choose a suitable
distribution of Easy Eclipse (http://www.easyeclipse.org/). There is a
distribution specifically for Python development, and also one for
LAMP, which includes a number of other components which will be of use
if you are developing for the web.
Thanks jewlby, I'll check it out.

Nov 7 '07 #6
jwelby wrote:
On Nov 6, 10:56 pm, "ram.rac...@gmail.com" <ram.rac...@gmail.com>
wrote:
>Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?

I currently use Python Scripter as a lightweight editor for Windows.
Could you elaborate on "lightweight"
please? I find PyScripter to be a
powerful editor/debugger combination.

What functionality does Eclipse have
that PyScripter does not?
Colin W.
>
For project work I use Eclipse, which can be installed with PyDev and
other useful plug-ins already included if you choose a suitable
distribution of Easy Eclipse (http://www.easyeclipse.org/). There is a
distribution specifically for Python development, and also one for
LAMP, which includes a number of other components which will be of use
if you are developing for the web.
Nov 7 '07 #7
ra********@gmail.com wrote:
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?
I like ERIC. You can get it at
http://www.die-offenbachs.de/eric/eric4-download.html

Or just download and install PyQt4, which includes it:

http://www.riverbankcomputing.com/Do...pl-4.3.1-1.exe

There's also a list of Python IDEs on the Python wiki:
http://wiki.python.org/moin/Integrat...ntEnvironments

-- Gerhard

Nov 7 '07 #8
On Nov 7, 9:16 am, Gerhard Häring <g...@ghaering.dewrote:
ram.rac...@gmail.com wrote:
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?

I like ERIC. You can get it athttp://www.die-offenbachs.de/eric/eric4-download.html

Or just download and install PyQt4, which includes it:

http://www.riverbankcomputing.com/Do...yQt-Py2.5-gpl-...

There's also a list of Python IDEs on the Python wiki:http://wiki.python.org/moin/Integrat...ntEnvironments

-- Gerhard
WingIDE all the way. After trying a number of deve environments, Wing
was the first I used that actually allowed me to be productive.

They offer a free version, but it's worth getting the professional
version, too.

http://www.wingide.com/

VSmirk

Nov 7 '07 #9
"Colin J. Williams" <cj*@sympatico.cawrites:
Could you elaborate on "lightweight" please? I find PyScripter to be a
powerful editor/debugger combination.

What functionality does Eclipse have that PyScripter does not?
While we're at it, do any of these debuggers implement a good way to
debug multi-threaded Python programs?
Nov 7 '07 #10
On Nov 7, 6:50 pm, Paul Rubin <http://phr...@NOSPAM.invalidwrote:
"Colin J. Williams" <c...@sympatico.cawrites:
Could you elaborate on "lightweight" please? I findPyScripterto be a
powerful editor/debugger combination.
What functionality does Eclipse have thatPyScripterdoes not?

While we're at it, do any of these debuggers implement a good way to
debug multi-threaded Python programs?
PyScripter (http://pyscripter.googlepages.com) debugging is based on
the standard Python debugger bdb.py which does not currently support
multi-threaded debugging (only the main thread can be debugged). One
debugger with such support is Winpdb. PyScripter may integrate Winpdb
in the future. However PyScripter does support debugging of GUI (e.g.
Tkinter, WxPython) applications with remote debugging.

Nov 8 '07 #11
On Nov 7, 12:42 pm, "Colin J. Williams" <c...@sympatico.cawrote:
jwelby wrote:
....
>
I currently use Python Scripter as a lightweight editor for Windows.

Could you elaborate on "lightweight"
please? I find PyScripter to be a
powerful editor/debugger combination.

What functionality does Eclipse have
that PyScripter does not?

Colin W.
This is a fair question. I didn't phrase my post too well.

I find PyScripter does pretty much everything I need in terms of doing
actual development for Python. My use of 'lightweight' is by no means
a criticism of PyScripter - it's more of a compliment, as it refers to
the relatively modest demands that it makes on my system compared with
Eclipse, which can be hog.

The main reason I have used Eclipse for larger, team based, projects
is for the source control plug-ins. Eclipse has plug-in support for
cvs and svn. PyScripter may have this too - perhaps I've missed it.
(I'm away from my Windows box at the moment, otherwise I would check).
Of course, there are other ways to implement source control without it
needing to be integrated in the IDE, so even this need not put off
anyone who wants to use PyScripter with source control.

Summary - unless you need the added flexibility offered by Eclipse
plug-ins, PyScripter is a great tool for developing with Python on
Windows.
>
For project work I use Eclipse, which can be installed with PyDev and
other useful plug-ins already included if you choose a suitable
distribution of Easy Eclipse (http://www.easyeclipse.org/). There is a
distribution specifically for Python development, and also one for
LAMP, which includes a number of other components which will be of use
if you are developing for the web.

Nov 10 '07 #12
jwelby <ju**********@gmail.comwrites:

This is a fair question. I didn't phrase my post too well.

I find PyScripter does pretty much everything I need in terms of doing
actual development for Python. My use of 'lightweight' is by no means
a criticism of PyScripter - it's more of a compliment, as it refers to
the relatively modest demands that it makes on my system compared with
Eclipse, which can be hog.

The main reason I have used Eclipse for larger, team based, projects
is for the source control plug-ins. Eclipse has plug-in support for
cvs and svn. PyScripter may have this too - perhaps I've missed it.
(I'm away from my Windows box at the moment, otherwise I would check).
Of course, there are other ways to implement source control without it
needing to be integrated in the IDE, so even this need not put off
anyone who wants to use PyScripter with source control.

Summary - unless you need the added flexibility offered by Eclipse
plug-ins, PyScripter is a great tool for developing with Python on
Windows.
I'm not sure if you count emacs as "lightweight" but it's certainly
less resource hungry than eclipse/pydev, and does have integrated
cvs/svn functionality.
Nov 10 '07 #13
PyScripter provides integrated version control, via TortoiseSVN or
TortoiseCVS and the File Explorer.

On Nov 10, 11:21 am, jwelby <julius.we...@gmail.comwrote:
On Nov 7, 12:42 pm, "Colin J. Williams" <c...@sympatico.cawrote:
jwelby wrote:
...
I currently use Python Scripter as a lightweight editor for Windows.
Could you elaborate on "lightweight"
please? I findPyScripterto be a
powerful editor/debugger combination.
What functionality does Eclipse have
thatPyScripterdoes not?
Colin W.

This is a fair question. I didn't phrase my post too well.

I findPyScripterdoes pretty much everything I need in terms of doing
actual development for Python. My use of 'lightweight' is by no means
a criticism ofPyScripter- it's more of a compliment, as it refers to
the relatively modest demands that it makes on my system compared with
Eclipse, which can be hog.

The main reason I have used Eclipse for larger, team based, projects
is for the source control plug-ins. Eclipse has plug-in support for
cvs and svn.PyScriptermay have this too - perhaps I've missed it.
(I'm away from my Windows box at the moment, otherwise I would check).
Of course, there are other ways to implement source control without it
needing to be integrated in the IDE, so even this need not put off
anyone who wants to usePyScripterwith source control.

Summary - unless you need the added flexibility offered by Eclipse
plug-ins,PyScripteris a great tool for developing with Python on
Windows.
For project work I use Eclipse, which can be installed with PyDev and
other useful plug-ins already included if you choose a suitable
distribution of Easy Eclipse (http://www.easyeclipse.org/). There is a
distribution specifically for Python development, and also one for
LAMP, which includes a number of other components which will be of use
if you are developing for the web.

Nov 10 '07 #14
While we're at it, do any of these debuggers implement a good way to
debug multi-threaded Python programs?
Wing now has multi-threaded debugging.

I'm a big Wing (pro) fan. To be fair, when I undertook my huge IDE
evaluation undertaking it was approx 2 years ago... at the time as far
as what I would consider to be a full featured professional IDE it was
IMO really only Wing and Komodo who could compete. The others were
left in the dust. Unfortunately both cost money, but it became clear
that at least in this instance you get what you pay for. Not a big
deal for me because as far as professional development costs the cost
is ridiculously low and I use it professionally, but I could see
balking at the cost if strictly a hobbiest... although I would pay as
I'd be lost without my Wing I think. At the time, I much preferred
Wing to Komodo, but haven't tried Komodo more than sparingly since
then. My bet is that the situation would still be similar since Wing
has done nothing but get better over time. The support crew at Wing
are great, too... the mailing list is excellent and the Wing
developers typically respond very quickly to any support requests, and
even feature requests (I've had a few things added due to the mailing
list).

The biggest missing feature in Wing at the moment is integrating GUI
development. If you are into that, you may want to look elsewhere.
Any GUI stuff I do I use wxPython and after starting with a template
builder I just manually code the GUIs... painful at times, especially
when you just want to whip up something small, but I've gotten used to
it. Now that I type this, though, I think I'll go looking for what's
new! Maybe Boa is less buggy now? Hmm.

Prior to taking on my "find the ultimate IDE" quest I was using SPE
and it was free and quite decent, just not comparable to Wing.

http://pythonide.stani.be/

A quick look at the current state of SPE shows that it now has multi-
threaded debugging via WinPDB (what I used to use for debugging thread
issues). Interesting. Worth a look to see if it is integrated well.

Nov 11 '07 #15
Russell Warren <ru************@gmail.comwrites:
Wing now has multi-threaded debugging.
Cool, is it windows-only? I'm using Linux.
A quick look at the current state of SPE shows that it now has multi-
threaded debugging via WinPDB (what I used to use for debugging thread
issues). Interesting. Worth a look to see if it is integrated well.
Same issue: this also sounds windows-specific. Thanks though.
Nov 11 '07 #16
On Nov 11, 4:39 pm, Paul Rubin <http://phr...@NOSPAM.invalidwrote:
Russell Warren <russandheat...@gmail.comwrites:
Wing now has multi-threaded debugging.

Cool, is it windows-only? I'm using Linux.
A quick look at the current state of SPE shows that it now has multi-
threaded debugging via WinPDB (what I used to use for debugging thread
issues). Interesting. Worth a look to see if it is integrated well.

Same issue: this also sounds windows-specific. Thanks though.
Wing is actually not windows-specific. They are Linux based as well,
and I believe a number of users are also MacOSX users.

The multi-threading debugging is a new feature with it's latest
release, but I have heard of no platform-specific issues related to it.

Nov 12 '07 #17
Nir
On Nov 11, 11:39 pm, Paul Rubin <http://phr...@NOSPAM.invalidwrote:
Russell Warren <russandheat...@gmail.comwrites:
Wing now has multi-threaded debugging.

Cool, is it windows-only? I'm using Linux.
A quick look at the current state of SPE shows that it now has multi-
threaded debugging viaWinPDB(what I used to use for debugging thread
issues). Interesting. Worth a look to see if it is integrated well.

Same issue: this also sounds windows-specific. Thanks though.
Winpdb may sound to you as windows specific but it actually googles up
as platform independent. Those of you who dare work with a bunch of
separate development tools (oh, the terror, ugh...) instead of an IDE
will find it to be one of the best Python debuggers around.
Nov 13 '07 #18
On Nov 10, 4:48 am, Paul Rudin <paul.nos...@rudin.co.ukwrote:
jwelby <julius.we...@gmail.comwrites:
The main reason I have used Eclipse for larger, team based, projects
is for the source control plug-ins. Eclipse has plug-in support for
cvs and svn. PyScripter may have this too - perhaps I've missed it.
(I'm away from my Windows box at the moment, otherwise I would check).
Of course, there are other ways to implement source control without it
needing to be integrated in the IDE, so even this need not put off
anyone who wants to use PyScripter with source control.
[snip]

I'm not sure if you count emacs as "lightweight" but it's certainly
less resource hungry than eclipse/pydev, and does have integrated
cvs/svn functionality.
I've never understood the desire for using your version control
software via your IDE. Why not just Alt-Tab over to your terminal
window and run the svn/bzr/hg/git/whatever commands yourself right
from there?

Nov 13 '07 #19
On Nov 13, 10:56 am, bramble <cadet.bram...@gmail.comwrote:
On Nov 10, 4:48 am, Paul Rudin <paul.nos...@rudin.co.ukwrote:
jwelby <julius.we...@gmail.comwrites:
The main reason I have used Eclipse for larger, team based, projects
is for the source control plug-ins. Eclipse has plug-in support for
cvs and svn. PyScripter may have this too - perhaps I've missed it.
(I'm away from my Windows box at the moment, otherwise I would check).
Of course, there are other ways to implement source control without it
needing to be integrated in the IDE, so even this need not put off
anyone who wants to use PyScripter with source control.
[snip]
I'm not sure if you count emacs as "lightweight" but it's certainly
less resource hungry than eclipse/pydev, and does have integrated
cvs/svn functionality.

I've never understood the desire for using your version control
software via your IDE. Why not just Alt-Tab over to your terminal
window and run the svn/bzr/hg/git/whatever commands yourself right
from there?
Because it saves you from having to do this. Some people prefer all
their commands in one place. And GUI wise it is often easier to click
the button showing all previouis versions, or comparing two of them
visually. I use Eclipse with ClearCase and it saves me a great deal of
trouble when dealing with 100+ files...

Nov 13 '07 #20
ra********@gail.com wrote:
Hey, I'm looking for a good Python environment. That is, at least an editor
and a debugger, and it should run on Windows. Does anyone have any idea?
I've been looking for the equivalent although I want the IDE to run on Windows
and to be able to edit/debug/bzr files on a remote system (linux in VM or remote
physical hardware).

Solutions that I've explored are:

Network filesystems (Samba, NFS)
Emacs plus tramp
eclipse plus remote file access
remote system IDE, local display with X11
local editor plus unison

Here's how they failed:

Network filesystems always fail because they get ownership and permissions
wrong. No matter what you set the mapping to, it's almost always wrong for some
part of the system. It's made worse because setup .py does not make it easy to
force permissions and ownership to what you want them to be (afaik). this
forces the use of an ad hoc script to enforce permissions and ownership after
running setup.py.

using this configuration, it is possible to hibernate your Windows machine but
only if you manually restart your remote filesystem connections before trying to
do anything with your IDE.

Emacs plus tramp is the best solution so far albeit somewhat fragile. It's
moderately difficult to jump into the right point in the filesystem although
this may be an artifact of trying to use speech recognition for this task.
another annoying problem is forcing Emacs to use UNIX format text files. I know
I just need to RTF but I haven't gotten around to it yet.

Emacs plus tramp is also the easiest to hibernate as it does not use persistent
connections to remote machine but if the remote host isn't available when you
try to access a file via recentf, you lose the reference to the file and need to
type/speak the path in again.

Eclipse has been an unmitigated disaster for me. It's fat, it's heavy, it
pushes all of my other applications out of virtual memory and then I need to
wait 10s of seconds when I switch. I can't figure out which components of the
bag of parts I need and easy eclipse is too old to use the remote file system
access extension. blech.

Using X11 for local display is great if the remote machine is local and you're
not paging out to virtual memory. most common problem is that the local X11
display loses track of local Windows and you end up with this graphic ink blot
on the screen that never quite goes away until you restart X11 and all the other
applications through it.

with the X11 solution, you cannot hibernate your host machine because the
persistent connections break and cannot be restarted.

local editor plus unison sort of, kind of works. Yes, you can edit all your
files and replicate them on the target machine. Ownership and permissions are
broken. There is a problem with UNIX versus DOS file format but once you force
the editor to do the right thing, the format is right on the remote side. It's
clumsy but it does have the advantage that if you make changes on the remote
system when debugging, those changes are replicated back on your editing house.

As for debugging, personally, I just use winpdb everywhere and just suffer with
bad X11 connections.

One additional factor raised by split machine operations is how do you organize
your files? Do you have different repositories on different machines or do you
have a single repository on your editing host and look to some form of
replication for updates across one or more machines?

it's an interesting set of problems. Today, I just muddle along as I don't
really see a good solution. I'm hoping I'll be proven wrong and find a solution
that will make my life easier someday.

--
Speech-recognition in use. It makes mistakes, I correct some.
Nov 14 '07 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: a | last post by:
Hi there, I am looking for a Python/PHP programmer with over 6 years of experience to develop applications in a UNIX (open source) environment. The products are DB backed web applications and...
0
by: Skip Montanaro | last post by:
I got a little carried away with the gdbinit file that lives in the Python distribution at Misc/gdbinit today. I decided there's no particular reason that gdb shouldn't display the current Python...
15
by: klappnase | last post by:
Hello all, I am trying to internationalize my Tkinter program using gettext and encountered various problems, so it looks like it's not a trivial task. After some "research" I made up a few...
2
by: stelios xanthakis | last post by:
Hi. pyvm is a program that can run python 2.4 bytecode and most of the times produce the expected output. See http://students.ceid.upatras.gr/~sxanth/ I'm collecting small testlets to...
17
by: ToddLMorgan | last post by:
I'm just starting out with python, after having a long history with Java. I was wondering if there were any resources or tips from anyone out there in Python-land that can help me make the...
8
by: Eric_Dexter | last post by:
I was looking for a simple way to load a simple python program from another python program. I tried os.system(cabel) The file name is cabel.py a csound instrument editor.. The error I am...
10
by: Max Kubierschky | last post by:
Hello, I'm planning to give a game programming course for kids of mixed age. For this, I am looking for an open source 2D game development kit. I am also willing to participate in the...
34
by: Victor Kryukov | last post by:
Hello list, our team is going to rewrite our existing web-site, which has a lot of dynamic content and was quickly prototyped some time ago. Today, as we get better idea of what we need, we're...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.