Hello all,

I have two questions:
1) are there examples of embedding python in vb .NET

2)
I'm trying to figure out how I can use the Python.Runtime.dll form VB.NET. I 
added it as a reference and imported using:

Imports Python.Runtime

Module Module1
    Sub Main()
        PythonEngine.Initialize()
        Dim a As String

        PythonEngine.RunString("5+7" & vbCrLf)
        ' how can I get the result of that easy string?


    End Sub

End Module

Many Thx,

Johan
_________________________________________________________________
Nieuwe lente...Een nieuw online leven...Gratis dankzij Windows Live
http://get.live.com
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to