第一范文网 - 专业文章范例文档资料分享平台

PythonWindowsTutorial

来源:用户分享 时间:2025/5/29 4:12:13 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

Robinson Analytics

Using Python to Harness Windows

Tutorial Notes

O?Reilly Python Conference, Monterey, 21-24 August 1999

Andy Robinson, Robinson Analytics Ltd.

These notes closely follow the slides for the tutorial and include all code samples.

6795.doc

Table of Contents

Table of Contents ............................................................................................................ 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Background ........................................................................................................... 4 What is Python good for on Windows? ................................................................. 5 How Python works on Windows ............................................................................ 6 The Pythonwin IDE ............................................................................................... 9 Introduction to Python and COM ......................................................................... 16 Adding a Macro Language .................................................................................. 31 Client Side COM and Excel ................................................................................ 39 Automating Word ................................................................................................ 45 Distributing our Application with DCOM .............................................................. 52 Database Access ................................................................................................ 54 Communications ................................................................................................. 61 System Administration ........................................................................................ 63 Active Scripting ................................................................................................... 64 GUI Development ................................................................................................ 66 Delphi .................................................................................................................. 68 C and C++ Level Integration .............................................................................. 69

6795.doc

6795.doc

Part 1: - Fundamentals

Using Python To Harness Windows

1 Background

1.1 What we will cover

? How Python works on Windows ? What?s in Pythonwin

? Building applications with Python and COM ?

Getting started on common tasks ? Automating Office applications ? Connecting to databases ? Communications ?

GUI libraries

1.2 What we won’t cover

? Low-level Windows internals ? Hardcore COM - how it works ? NT Services

?

NT processes, events and threading models

Page 4 of 71

6795.doc

搜索更多关于: PythonWindowsTutorial 的文档
PythonWindowsTutorial.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c8kzf631ezc5v45r563hb_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top