How I could execute a python script from within the VB.NET code?
I would like to use VB.NET for building a GUI for my python script.
This is to be able to create a GUI for the user of a script.
I found this example:
Shell(c:\Program Files\python 266\python.exe path\myPythonScript.py +
" " + arg1 + " " + argN)
But I would like to know is there a more suitable way of executing python script?
I would also like to understand how I could handle errors in such setup.
Your help much appreciated!
Thanks,
meryloo
解决方案
You could call python from within .NET but if the only reason you want to do that is because you want to design a GUI fro your Python, why not keep things 'cleaner' and do it all in Python? You can use TKInter or wxPython to name but two GUI APIs. The latt