2 of 2 people found this helpful
The error indicates that you might be using Python 64-bit to access 32-bit com object.
You could install 32 bit Python and 32bit pywin32 extensions.
1 of 1 people found this helpful
Adding Thyagarajan Ramachandran comments,
I could see "PISDKDlg.Connections". Do you use PI SDK?
PI SDK is old technology and I recommend to write the code by AFSDK.
I also tried AFSDK and Python this blog post.
Hope it helps.