473,378 Members | 1,549 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,378 software developers and data experts.

Best Python IDE Code Completion!

Hi,
Could you give your opinions on the best code completion in Python
IDEs. My only complaint with PythonWin has been that the code
completion support is incomplete. The interactive mode has better
behavior than the editor. Tried to fix it but could not. Boa is not
too different. At least when I last checked (a few months ago) Komodo
and Visual Python were not very different either.

Wing IDE seems converse. The editor auto list members is great but
has no calltips. The interactive window has no completion at all.

I have not checked PythonWorks and Black Adder in a while but their
web sites do not seem to brag much in this direction.

Python has great introspective capabilities and we have a great open
contributing community. What technical difficulties keep us from
having REAL code completion like MS, Borland and several Java IDEs
(All of which have been funded at one time or the other if not
entirely - perhaps this is the reason?)

For me, code completion is a very important part of the coding
experience and I really miss it in Python in it's full effect.
Jul 18 '05 #1
3 2567
John said the following on 01/15/2004 12:52 PM:
Wing IDE seems converse. The editor auto list members is great but
has no calltips. The interactive window has no completion at all. I second this, though the editor sometimes need a bit of help ...
and I do not like the MDI approach they have.
Python has great introspective capabilities and we have a great open
contributing community. What technical difficulties keep us from
having REAL code completion like MS, Borland and several Java IDEs
(All of which have been funded at one time or the other if not
entirely - perhaps this is the reason?)


Python is dynamically typed, so no editor in the world can guess the
type of any function parameters correctly. If you know about the true
nature of one, you may assist Wing IDE by using isinstance.

class Klass(object):

def hello(self):
print "Hello"

def foo(bar):
assert isinstance(bar, Klass)
bar.hello()

Without the assert line, it's impossible to detect which type bar has.
Only during runtime the type of bar is known.

Regards
Mirko
--
Jul 18 '05 #2
John wrote:
Hi,
Could you give your opinions on the best code completion in Python
IDEs. My only complaint with PythonWin has been that the code
completion support is incomplete. The interactive mode has better
behavior than the editor. Tried to fix it but could not. Boa is not
too different. At least when I last checked (a few months ago) Komodo
and Visual Python were not very different either.

Wing IDE seems converse. The editor auto list members is great but
has no calltips. The interactive window has no completion at all.

I have not checked PythonWorks and Black Adder in a while but their
web sites do not seem to brag much in this direction.
About BlackAdder: because it is oriented to GUI programming.
in version 1.1 it will have completion for Qt classes and functions.
and completion to all words which happens in edited text.
(it is Vi - like style of completion - Ctrl-N, Ctrl-P)

Python has great introspective capabilities and we have a great open
contributing community. What technical difficulties keep us from
having REAL code completion like MS, Borland and several Java IDEs
(All of which have been funded at one time or the other if not
entirely - perhaps this is the reason?)

For me, code completion is a very important part of the coding
experience and I really miss it in Python in it's full effect.


--
Best regards
Jul 18 '05 #3
yshurik wrote:
John wrote:

Hi,
Could you give your opinions on the best code completion in Python
IDEs. My only complaint with PythonWin has been that the code
completion support is incomplete. The interactive mode has better
behavior than the editor. Tried to fix it but could not. Boa is not
too different. At least when I last checked (a few months ago) Komodo
and Visual Python were not very different either.

Wing IDE seems converse. The editor auto list members is great but
has no calltips. The interactive window has no completion at all.

I have not checked PythonWorks and Black Adder in a while but their
web sites do not seem to brag much in this direction.

About BlackAdder: because it is oriented to GUI programming.
in version 1.1 it will have completion for Qt classes and functions.
and completion to all words which happens in edited text.
(it is Vi - like style of completion - Ctrl-N, Ctrl-P)

Python has great introspective capabilities and we have a great open
contributing community. What technical difficulties keep us from
having REAL code completion like MS, Borland and several Java IDEs
(All of which have been funded at one time or the other if not
entirely - perhaps this is the reason?)

For me, code completion is a very important part of the coding
experience and I really miss it in Python in it's full effect.


Have you checked out SPE (Stani's Python Editor):

Spe is a python IDE with wxGlade GUI designer, auto-indentation, auto
completion, call tips, syntax coloring, syntax highlighting, class
explorer, source index, auto todo list, sticky notes, integrated pycrust
shell, python file browser, recent file browser, drag&drop, context
help, ... Special is its blender support with a blender 3d object
browser and its ability to run interactively inside blender. Spe is
extensible with boa.

You can find it at http://spe.pycs.net/
Jul 18 '05 #4

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

Similar topics

81
by: julio | last post by:
Sorry but there is no another way, c# .net and mono are going to rip python, not because python is a bad lenguage, but because is to darn old and it refuses to innovate things, to fix wrong things,...
4
by: Jubri Siji | last post by:
Please i am new to python , whats the best IDE to start with
36
by: ChinStrap | last post by:
When not using the interactive prompt, what are you using? I keep hearing everyone say Emacs, but I can't understand it at all. I keep trying to learn and understand why so many seem to like it...
29
by: seberino | last post by:
I'm trying to move beyond Emacs/Vim/Kate and was wondering if Eclipse is better and if it is the *best* IDE for Python. Should I leave Emacs and do Python coding in Eclipse? Chris
16
by: Sullivan WxPyQtKinter | last post by:
IDLE is no longer satisfactory for me. Other IDEs make me very confused. Really do not know which one to use. I use WinXP sp2 for current development. So far as I know, Eclipse + PyDev + PyDev...
18
by: stylecomputers | last post by:
Hi All, What do you find the best IDE for creating web applications in Python is? Preferably FOS IDE. Cheers
42
by: Hakusa | last post by:
Recently I've had some problems with PythonWin when I switched to Py2.5, tooka long hiatus, and came back. So now I'm without my god sent helper, and I'm looking for a cool replacement, or some...
16
by: =?ISO-8859-1?Q?Ali_Servet_D=F6nmez?= | last post by:
I don't want to be so mean here, but how hard it could be be writing a freesoftware which would automatically/intelligently auto complete Python code? (I mean something that really does the job,...
4
by: leon.domingo | last post by:
Hello, I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The problem is that I can't get code completion for wx module. I don't know if it occurs the same with other libraries...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.