aboutsummaryrefslogtreecommitdiff
path: root/files/pl/pyxpcom/index.html
blob: 570af27fccab6e535b2f59e8907e3ce781371333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: PyXPCOM
slug: PyXPCOM
tags:
  - PyXPCOM
translation_of: Mozilla/Tech/XPCOM/Language_bindings/PyXPCOM
---
<p>
</p>
<div>
<p><b>PyXPCOM</b> allows for communication between <a class="external" href="http://www.python.org/">Python</a> and <a href="pl/XPCOM">XPCOM</a>, such that a Python application can access XPCOM objects, and XPCOM can access any Python class that implements an XPCOM interface. With PyXPCOM, a developer can talk to XPCOM or embed <a href="pl/Gecko">Gecko</a> from a Python application. PyXPCOM is similar to <a href="pl/JavaXPCOM">JavaXPCOM</a> (Java-XPCOM bridge) or <a href="pl/XPConnect">XPConnect</a> (JavaScript-XPCOM bridge).
</p>
Python classes and interfaces: Mozilla defines many external interfaces available to embeddors and component developers. PyXPCOM provides access to these interfaces as Python interfaces. PyXPCOM also contains several classes that provide access to functions for initializing and shutting down XPCOM and Gecko from Python, as well as some XPCOM helper functions.</div>
<table class="topicpage-table">
<tbody><tr><td>
<h4 id="Documentation"> <a>Documentation</a> </h4>
<dl><dt> <a href="pl/Building_PyXPCOM">Building PyXPCOM</a>
</dt><dd> <small>The instructions for building PyXPCOM.</small>
</dd></dl>
<dl><dt> <a href="pl/Creating_a_Python_XPCOM_component">Creating a Python XPCOM component</a>
</dt><dd> <small>An example of how to create a simple <a href="pl/XPCOM">XPCOM</a> component with Python.</small>
</dd></dl>
<dl><dt> <a class="external" href="http://www-128.ibm.com/developerworks/webservices/library/co-pyxp1/">Getting to know PyXPCOM</a>
</dt><dd> <small> PyXPCOM is a bridging technology between XPCOM and Python. This article gives you a head start to PyXPCOM.</small>
</dd></dl>
<p><span>NOTE: The links to Part II and III of this series are broken and I cannot find them on the IBM site. Please update this page if/when the links can be found.</span>
</p><p><span><a>View All...</a></span>
</p>
<h4 id="History"> History </h4>
<p>PyXPCOM was initially developed by <a class="external" href="http://www.activestate.com/">ActiveState Tool Corporation</a>, and <a class="external" href="http://aspn.activestate.com/ASPN/Downloads/Komodo/index/PyXPCOM/">came out</a> of their <a class="external" href="http://www.activestate.com/Products/Komodo">Komodo project</a>. Current releases are now <a class="external" href="http://public.activestate.com/pyxpcom/">integrated</a> with the Mozilla build system.
</p>
</td>
<td>
<h4 id="Community"> Community </h4>
<ul><li> View Mozilla XPCOM forums...
</li></ul>
<p></p><ul>
  <li><a href="https://lists.mozilla.org/listinfo/dev-tech-xpcom"> jako listę dyskusyjna</a></li>


  <li><a href="http://groups.google.com/group/mozilla.dev.tech.xpcom"> jako 		newsgroup</a></li>
  <li><a href="http://groups.google.com/group/mozilla.dev.tech.xpcom/feeds"> jako kanał</a></li>
</ul>
<p></p>
<ul><li> <a class="external" href="http://listserv.activestate.com/mailman/listinfo/pyxpcom">ActiveState Python XPCOM bindings mailing list</a>
</li><li> <a class="link-irc" href="irc://irc.mozilla.org:6667/pyxpcom">#pyxpcom on irc.mozilla.org</a>
</li></ul>
<h4 id="Source_Code"> Source Code </h4>
<ul><li> The PyXPCOM code is available on the trunk in the <code><a href="https://dxr.mozilla.org/mozilla-central/source/extensions/python/xpcom/" rel="custom">extensions/python/xpcom/</a></code> directory.
</li><li> Note that PyXPCOM is not built by default. To build PyXPCOM, see <a href="pl/Building_PyXPCOM">Building PyXPCOM</a>.
</li></ul>
<h4 id="Related_Topics"> Related Topics </h4>
<dl><dd> <a href="pl/XPCOM">XPCOM</a>
</dd></dl>
</td></tr></tbody></table>
<p><span>Categories</span>
</p><p><span>Interwiki Language Links</span>
</p><p><br>
</p>
<div class="noinclude">
</div>