At first I used ActiveState for my Python work. I
soon met several problems with ActiveState, so I began
to use IDLE. Whereas IDLE is extrememly powerful, it
does lack a feature or two that I was particularly
fond of while using ActiveState. The foremost of
these is an expansion window which would show all
methods, etc. in a window when an object was typed in
at the prompt.
Example:
sys = spin_system()
_________________
sys. | option 1 |
| option 2 |
|_______________|
Forgive my crude representation. I would advise
opening ActiveState if you want to see what it is that
I am talking about, or just contact me and ask me
whatever questions you have concerning this.
Also, I tried to find this feature in the ActiveState
files. True enough, I did not look very hard (about 3
minutes max), but while looking I thought I found it.
It was a class called CallTip, and seemed to be the
code for the tips on what arguments a method
required. If there is a similar class that does what
I am talking about already included, but not
implemented by default, in the IDLE package, sorry for
bothering you. Although making this automatically
available would be... nice. :-)
-Mikolai Fajer-
Logged In: YES
user_id=149084
Call Tips are available in IDLEfork. Unless the definition
or method is in a built-in module, you will need to import
the module before you can see the call tips. In an Edit
Window, put in your import statements, save/run once,
and then you will get call tips.
Call tips for class attributes are being worked on.