Re: [gedit-list] Pyhon shell plugin and imported libraries methods inspection through TAB



Actually, I never used ipython.  I'm just using the interactive console bundled with python 2.5.  And it autocompletes methods of a library you import, very bash-like .

Example:

>>> import base64
>>> base64.b
base64.b16decode  base64.b32decode  base64.b64decode  base64.binascii
base64.b16encode  base64.b32encode  base64.b64encode
>>> base64.b  

Marcello

On 6/3/07, Paolo Borelli <pborelli katamail com> wrote:
On gio, 2007-05-31 at 12:20 +0200, Marcello Golfieri wrote:
> Hi all,
>
> I noticed that the python shell plugin in Gedit doesn't ship with
> autocompletion feature by pressing tab, while system console shells
> running Python in interactive mode do provide it (I mean the ability
> to show methods and so on of a imported library by just pressing tab
> after the dot. Not actually autocompletion, in fact).  As of right
> now, I'm developing with a open shell on one side....
>

I guess the python console you are using is iPython (which is indeed
very cool), the native python console doesn't have tab completion.
It would be cool to have that in the python console plugin, but it's not
a small task.

ciao
        Paolo

> Am I missing something? or is it a feature you'll sooner or later
> implement?   Thanks in advance, would be really cool for us all out
> here.
>
> --
> Marcello Golfieri
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list




--
Marcello Golfieri

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]