469,271 Members | 1,009 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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 1815
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by John | last post: by
81 posts views Thread by julio | last post: by
25 posts views Thread by abhinav | last post: by
16 posts views Thread by Sullivan WxPyQtKinter | last post: by
5 posts views Thread by Laszlo Nagy | last post: by
16 posts views Thread by =?ISO-8859-1?Q?Ali_Servet_D=F6nmez?= | last post: by
4 posts views Thread by leon.domingo | last post: by
reply views Thread by Python Nutter | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.