Wiki

Changes between Initial Version and Version 1 of CallingIronPythonRecipe

Show
Ignore:
Timestamp:
05/30/09 05:49:21 (16 years ago)
Author:
eric.sellon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CallingIronPythonRecipe

    v1 v1  
     1With Iron Python version 1.1.0 
     2 
     3 
     4{{{ 
     5use IronPython.Hosting 
     6use IronPython.Runtime.Types 
     7use IronPython.Runtime.Operations 
     8 
     9class Program 
     10 
     11    def main 
     12        engine = PythonEngine() 
     13        code = 'print "This is IronPython"' 
     14        engine.execute(code) 
     15}}} 
     16 
     17Additional information at [http://www.voidspace.org.uk/ironpython/embedding.shtml]