Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PyXPCOM

PyXPCOM allows for communication between Python and XPCOM, 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 Gecko from a Python application. PyXPCOM is similar to JavaXPCOM (Java-XPCOM bridge) or XPConnect (JavaScript-XPCOM bridge).

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.

Documentation

Building PyXPCOM
The instructions for building PyXPCOM.
Creating a Python XPCOM component
An example of how to create a simple XPCOM component with Python.
Getting to know PyXPCOM
PyXPCOM is a bridging technology between XPCOM and Python. This article gives you a head start to PyXPCOM.

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.

View All...

History

PyXPCOM was initially developed by ActiveState Tool Corporation, and came out of their Komodo project. Current releases are now integrated with the Mozilla build system.

Community

  • View Mozilla XPCOM forums...

Source Code

XPCOM

Categories

Interwiki Language Links


Autorzy i etykiety dokumentu

Etykiety: 
 Autorzy tej strony: Mgjbot, Ptak82
 Ostatnia aktualizacja: Mgjbot,