473,508 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python and Code Completion

I noticed that ide's such as activestates visual python have a certain
amount of code completion options, and i would love to implement something
similiar in my own ide.
eg when u type aclass().[dropdown with all methods here]
also Idle has some of these functions,as well as displaying 'hints' eg when
u type range([show hint here] (but idle sourcecode is to big for me try and
figure out how it is done..)

Can anybody please give me some pointers on how to get the available
properties/documentation to a class etc without actually excecuting the
code. Do i have to write my own semi-parser?
I know help('class') displays doc and methods and automatically imports
class, so is there maybe something similar to use?

any ideas?
Jul 18 '05 #1
1 1930
On Mon, 11 Aug 2003 19:39:09 +0200, Madiba wrote:

....
Can anybody please give me some pointers on how to get the available
properties/documentation to a class etc without actually excecuting the
code. Do i have to write my own semi-parser?
I know help('class') displays doc and methods and automatically imports
class, so is there maybe something similar to use?

any ideas?


check out the compiler module. Also, i think pydoc uses it.

Simon.

Jul 18 '05 #2

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

Similar topics

3
2573
by: John | last post by:
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...
81
4611
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,...
25
5706
by: abhinav | last post by:
Hello guys, I am a novice in python.I have to implement a full fledged mail server ..But i am not able to choose the language.Should i go for C(socket API) or python for this project? What are the...
16
2005
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...
8
2109
by: metaperl | last post by:
Hi, I would like an IDE that shows me all methods and functions I can call on a particular data item. For instance, iter() can be called on any sequence, but it is not a method. Nonetheless,...
5
3276
by: Laszlo Nagy | last post by:
Hello, I was trying to get answers for these. SPE homepage was down. Then I found it on berlios (http://developer.berlios.de/forum/forum.php?forum_id=12695) but no one answered since 5 days. In...
16
1490
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,...
7
1783
by: Anthony | last post by:
Hi, I'm a FoxPro programmer, but I want to learn python before it's too late. I do a lot of statistical programming, so I import SPSS into python. In my opinion, the best features of Visual...
4
2421
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
19290
by: Python Nutter | last post by:
Mini install guide for python on the iPhone: Cydia =Install SSH helps make initial configuration easier until you get used to MobileTerminal Cydia =Install MobileTerminal (closest to a bash...
0
7225
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,...
0
7324
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,...
0
7382
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5627
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,...
0
4707
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...
0
3193
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...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
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...

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.