[Python.NET] embedding python in vb .NET
Johan Beke
johanbeke at hotmail.com
Fri Jun 13 17:47:45 CEST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20080613/ea1aaf8f/attachment.htm>
More information about the PythonDotNet
mailing list