Package igraph :: Package app :: Module shell :: Class IDLEShell
[hide private]
[frames] | no frames]

Class IDLEShell

object --+    
         |    
     Shell --+
             |
            IDLEShell

IDLE embedded shell interface.

This class allows igraph to be embedded in IDLE (the Tk Python IDE).


To Do: no progress bar support yet. Shell/Restart Shell command should re-import igraph again.

Instance Methods [hide private]
 
__call__(self, namespace=None)
Starts the shell
 
__init__(self)
Constructor.

Inherited from Shell: get_progress_handler, supports_progress_bar

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, namespace=None)
(Call operator)

 

Starts the shell

Overrides: Shell.__call__

__init__(self)
(Constructor)

 

Constructor.

Imports IDLE's embedded shell. The implementation of this method is ripped from idlelib.PyShell.main() after removing the unnecessary parts.

Overrides: object.__init__