如何使用Python编写OLE组件的脚本 [英] How to script an OLE component using Python

查看:127
本文介绍了如何使用Python编写OLE组件的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Python编写一个广告应用程序,该应用程序宣传自己提供了OLE组件.我应该如何开始?

I would like to use Python to script an application that advertises itself as providing an OLE component. How should I get started?

我尚不知道我需要在要访问的组件上调用哪些方法.我应该使用win32com加载这些组件,然后在IPython中开始按"tab"键吗?

I don't yet know what methods I need to call on the COMponents I will be accessing. Should I use win32com to load those components, and then start pressing 'tab' in IPython?

推荐答案

" Python和COM "包含一个示例. OLE与COM和ActiveX相关,因此您应该查找这些术语.

"Python and COM" contains an example. OLE is related to COM and ActiveX so you should look for those terms.

"在Win32上进行Python编程"是一本很有用的书.还有一个" Python Win32 "邮件列表.

"Python Programming on Win32" is a useful book. There is also a "Python Win32" mailing list.

这篇关于如何使用Python编写OLE组件的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆