. .

smalltalk

OpenQwaq Python Integration

May 4, 2011 6:48:37.146

Andreas Raab has been exploring the OpenQwaq codebase, and has found some cool stuff. For instance:

This is the first part of our series about the Cool bits of OpenQwaq. OpenQwaq has a complete integration with Python. What this means is that from OpenQwaq you can call Python code simply via something like here:


Python initialize. "initialize the bridge"
module := Python loadModule: 'ExampleModule'.
result := module call: 'add' with: 3 with: 4.
instance := module call: 'ExampleClass'.
instance call: 'exampleMethod' with: instance.

Technorati Tags:

posted by James Robertson

 Share Tweet This