📄 130.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Robots" content="INDEX,NOFOLLOW">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<TITLE>Safari | Python Developer's Handbook -> Object Interfacing and Distribution</TITLE>
<LINK REL="stylesheet" HREF="oreillyi/oreillyN.css">
</HEAD>
<BODY bgcolor="white" text="black" link="#990000" vlink="#990000" alink="#990000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellpadding=5 cellspacing=0 border=0 class="navtopbg"><tr><td><font size="1"><p class="navtitle"><a href="8.html" class="navtitle">Web Development</a> > <a href="0672319942.html" class="navtitle">Python Developer's Handbook</a> > <a href="128.html" class="navtitle">7. Objects Interfacing and Distribution</a> > <span class="nonavtitle">Object Interfacing and Distribution</span></p></font></td><td align="right" valign="top" nowrap><font size="1"><a href="main.asp?list" class="safnavoff">See All Titles</a></font></td></tr></table>
<TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="129.html" title="7. Objects Interfacing and Distribution"><font size="1">< BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=130" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="130.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="131.html" title="Interfacing Objects"><font size="1">CONTINUE ></font></a></td></TR></TABLE>
<a href="5%2F31%2F2002+4%3A36%3A48+PM.html" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><font color=white size=1>152015024128143245168232148039199167010047123209178152124239215162147034164220117214234061</font><a href="read4.asp?bookname=0672319942&snode=130&now=5%2F31%2F2002+4%3A36%3A48+PM" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><br>
<FONT><h3>Object Interfacing and Distribution</h3>
<p>Python has very comprehensive support for object interfacing and distributing technologies. It is particularly well integrated with the Windows platform; its programs can interact with COM and DCOM services.</p>
<P>The <TT Class="monofont">win32com</TT> Python extensions developed by Mark Hammond can be used to interface Python to Microsoft's COM and ActiveX architectures. This package, which is part of the PythonWin distribution, enables Python to be used in Active Server Pages, or as a COM controller that can exchange information with other COM-aware applications, such as Microsoft Word and Visual Basic.</P>
<P>Object-oriented design and programming is specifically beneficial in distributed environments where the encapsulation and subsequent independence of objects enable distribution of an application over a network.</p>
<p>The possibilities of heterogeneous machine architectures, physically distant locations, and independent component failures make it difficult to program distributed object systems.<a nAME="idx1073744262"></A><a name="idx1073744263"></a><a name="idx1073744264"></a></p>
<p>A number of distributed-processing environments, such as OMG's CORBA and Microsoft's DCOM, have been developed to attempt to hide these problems from programmers, reducing the complexity of their task. Besides the most famous object models, an international standard known as the Reference Model for Open Distributed Processing (RM-ODP) is currently being developed.</p>
<p>Python is one of the languages supported by <i>Xerox PARC</i>'s ILU (Inter-Language Unification), which is a free CORBA-compatible distributed object system. To this date, many distributed applications systems have been developed in Python using this technology.</p>
<p>The Hector project at the University of Queensland, Australia, also uses Python.</P>
</foNt>
<P><TABLE width="100%" border=0><TR valign="top"><TD><font size=1 color="#C0C0C0"><br></font></TD><TD align=right><font size=1 color="#C0C0C0">Last updated on 1/30/2002<br>Python Developer's Handbook, © 2002 Sams Publishing</font></TD></TR></TABLE></P>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="129.html" title="7. Objects Interfacing and Distribution"><font size="1">< BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=130" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="130.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="131.html" title="Interfacing Objects"><font size="1">CONTINUE ></font></a></td></TR></TABLE>
</TD></TR></TABLE>
<br><TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD><H4 class=Title>Index terms contained in this section</H4>
<font size=2>
distributing<BR>
<a href="#idx1073744263">objects</a><BR>
interfacing<BR>
<a href="#idx1073744262">objects</a><BR>
objects<BR>
<a href="#idx1073744264">interfacing and distributing</a><BR>
<BR>
</font></TD></TR></TABLE>
<!--EndOfBrowse-->
</TD></TR></TABLE>
<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#990000><tr><td><p align=center><font size=1 face="verdana,arial,helvetica" color=white>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -