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

Class ClassicPythonShell

object --+    
         |    
     Shell --+
             |
            ClassicPythonShell

Classic Python shell interface.

This class allows igraph to be embedded in Python's shell.

Instance Methods [hide private]
 
__call__(self, namespace=None)
Starts the embedded 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__

Static Methods [hide private]
 
_progress_handler(message, percentage)
Progress bar handler, called when igraph reports the progress of an operation
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

 

Starts the embedded shell.

Parameters:
  • namespace - global namespace to use
Overrides: Shell.__call__

__init__(self)
(Constructor)

 

Constructor.

Imports Python's classic shell

Overrides: object.__init__

_progress_handler(message, percentage)
Static Method

 

Progress bar handler, called when igraph reports the progress of an operation

Parameters:
  • message - message provided by igraph
  • percentage - percentage provided by igraph