473,748 Members | 9,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2584
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
contributin g 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
4724
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, just because retarded backwards compatibility and because the python comunity and developers refuses to consider tools as being almost as important as the language itself. What does c# .net has that python doesnt ? (significant features) --...
4
1759
by: Jubri Siji | last post by:
Please i am new to python , whats the best IDE to start with
36
2764
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 because I can't understand customization even without going through a hundred menus that might contain the thing I am looking for (or I could go learn another language just to customize!). Personally I like SciTE, it has everything I think a...
29
3659
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
2029
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 Extension is perfect for source code editing. Since I am really not sure how to use the debugger module, I really do not know how to add watch to variables etc. Anyone knows if this platform is a good one?
18
2943
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
2437
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 advocation to reinstall/setup PyWin. But the Python website's list is irrefutably long. It would take a month or two to test all of those products. So I'm looking for experienced advocates. What's your favorite IDE? What do you like about it? It...
16
1513
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, like Microsoft's Visual Studio or Sun's NetBeans or something else, you name it, but just don't give me PyDev please...) This could be an extension, a plugin, an Emacs mode, a new editor or even a brand new huge all-fancy IDE, I don't care, but...
4
2434
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 outside the python "core". If I compile/run my code containing the wx library, I get an application running correctly, so it looks that definition works fine. Obviously, the obstacle is that I don't know (I don't want to either)
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.