schneide
Germany
45 Posts |
Posted - 06/06/2018 : 07:10:41 AM
|
Origin Ver. 2018 b9.5.0193 Operating System: WIN10
I am trying to open Origin from a Python script, fill a worksheet with data, execute a labtalk script, save the file and close origin.
I do not manage to close origin. Neither by a python command nor by closing out of Origin ("in use by another application").
How can I close Origin from Python, so that it is no longer running actively or in the background?
My Code is import win32com.client org = win32com.client.Dispatch("Origin.Application")
org.NewProject
...more code....
org.Save(r"c:\temp\test.opju")
org.Exit del org
Giselher |
|