python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package app :: Module shell :: Class IDLEShell
[hide private]

Class IDLEShell

source code

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]
 
__init__(self)
Constructor.
source code
 
__call__(self)
Starts the shell
source code

Inherited from Shell: get_progress_handler, get_status_handler, supports_progress_bar, supports_status_messages

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

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__

__call__(self)
(Call operator)

source code 

Starts the shell

Overrides: Shell.__call__

   Home       Trees       Indices       Help