Passing Data back from Python Script to VB RRS feed

  • Question

  • I am starting a python script process from VB in visual studio 2017. I need to monitor the python script and when it is finished it will return a number of variables back. How can I capture these to be used in VB and displayed on a form? I am new to VB so any help would be appreciated.

    Proc.StartInfo.Filename = "C:\Program Files\Python36\python.exe""C:\pythonscripts\"

    Proc.StartInfo.CreateNoWindow = True

    Proc.StartInfo.UseShellExecute = False

    Proc.EnableRaisingEvents = True 

    Proc.StartInfo.RedirectStandardOutput = True



    Thursday, November 30, 2017 8:03 PM

All replies