title: execute python script from vb.net
body: <p>How I could execute a python script from within the VB.NET code?</p>
  
  <p>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.</p>
  
  <p>I found this example:</p>
  
  <pre><code>Shell(c:\Program Files\python 266\python.exe path\myPythonScript.py +
         " " + arg1 + " " + argN)
  </code></pre>
  
  <p>But I would like to know is there a more suitable way of executing python script?</p>
  
  <p>I would also like to understand how I could handle errors in such setup.</p>
  
  <p>Your help much appreciated!</p>
  
  <p>Thanks, </p>
  
  <p>meryloo</p>