[python-win32] To control commercial software CST through python

Tim Roberts timr at probo.com
Fri Apr 28 02:36:29 EDT 2017


On Apr 27, 2017, at 12:02 PM, gowri shankar <gowrishankarmandya at gmail.com<mailto:gowrishankarmandya at gmail.com>> wrote:

Thanks for bringing out my inadequacies.  By the by i am using Python 2.7.8 |Anaconda 2.1.0 (64-bit).
Here are the error codes for the same:

import win32com.client
cst = win32com.client.Dispatch("CSTStudio.Application")
#Opens a new CST file
mws=cst.OpenFile('D:\Gowrishankar\PDF\cuboid.cst')

That string is still wrong, by the way.  You NEED to fix the backslashes.
—
Tim Roberts, timr at probo.com<mailto:timr at probo.com>
Providenza & Boekelheide, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20170427/037bfd94/attachment.html>


More information about the python-win32 mailing list