Python editor example with auto-complete?

Neil Hodgson nhodgson at bigpond.net.au
Thu Dec 12 03:34:07 EST 2002


holger krekel:

> If you are inside an editor you are *not* in the runtime environment
> of the program.   Parsing python syntax gets you no clue
> about the actual objects and its type.  That's why it is called
> 'dynamic typing'.  Not static type declaration: it is not enough
> for an editor to only parse source code to get to autocompletion
> information.  It requires *execution* in order to know which
> object a name refers to.

   An editor can usefully provide autocompletion for the standard modules.
Type "urllib." and  see the functions available: [socket, splithost, etc. ].

   Neil





More information about the Python-list mailing list