{"json_modified": "2016-03-28T08:13:21.943994", "uuid": "35798acf-4afe-499c-8ea9-dd610915acbf", "title": "Creating a Python XPCOM component", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Creating_a_Python_XPCOM_component", "tags": ["PyXPCOM", "Guide", "XPCOM:Language Bindings", "XPCOM", "NeedsHelp"], "translations": [{"uuid": "9514ec72-99d7-4fd9-95f0-31511b515c1b", "title": "Cr\u00e9ation d'un composant XPCOM Python", "url": "/fr/docs/Creating_a_Python_XPCOM_component", "tags": [], "summary": "Cr\u00e9ation d'applications avec Mozilla pr\u00e9voit d\u00e9j\u00e0 un tutoriel pour faire un composant simple JavaScript ou C (mise en \u0153uvre de l'Interface nsISimple) . Voici comment faire le m\u00eame composant en Python en utilisant PyXPCOM .", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2015-11-17T05:42:21", "review_tags": []}, {"uuid": "54bdf6d9-4e82-4269-9b59-99ce2a1c44d1", "title": "Creating a Python XPCOM component", "url": "/ko/docs/Creating_a_Python_XPCOM_component", "tags": ["PyXPCOM", "NeedsEditorialReview", "XPCOM:Language Bindings"], "summary": "", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2014-05-22T03:58:21", "review_tags": []}, {"uuid": "1d567dd7-ab0f-4ccc-84df-9cb0d6dcfcbf", "title": "\u521b\u5efaPython XPCOM\u7ec4\u4ef6", "url": "/zh-CN/docs/Creating_a_Python_XPCOM_component", "tags": [], "summary": "Creating Applications with Mozilla \u5df2\u7ecf\u5305\u542b\u4e86\u4e00\u4e2a\u6559\u7a0b\u7528\u4e8e\u7f16\u5199\u7b80\u5355\u7684\u57fa\u4e8eJavaScript\u548cC++\uff08\u5b9e\u73b0nsISimple\u63a5\u53e3\uff09\u7684\u7ec4\u4ef6\uff0c\u672c\u6587\u9610\u8ff0\u5982\u4f55\u901a\u8fc7Python\u8bed\u8a00\u4f7f\u7528PyXPCOM\u521b\u5efa\u76f8\u540c\u7684\u7ec4\u4ef6\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2013-07-29T05:54:55", "review_tags": []}], "modified": "2016-02-28T08:28:08", "label": "Creating a Python XPCOM component", "localization_tags": [], "locale": "en-US", "id": 14806, "last_edit": "2013-08-04T14:08:52", "summary": "Creating Applications with Mozilla already provides a tutorial for making a simple JavaScript or C++ component (implementing the nsISimple interface). Here is how to make the same component in Python using PyXPCOM.", "sections": [{"id": "Preparation", "title": "Preparation"}, {"id": "Defining_the_interface", "title": "Defining the interface"}, {"id": "Registering_the_interface", "title": "Registering the interface"}, {"id": "Implementing_the_component", "title": "Implementing the component"}, {"id": "Generating_implementation_templates", "title": "Generating implementation templates"}, {"id": "Testing_it", "title": "Testing it"}, {"id": "External_links", "title": "External links"}], "slug": "Mozilla/Tech/XPCOM/Creating_a_Python_XPCOM_component", "review_tags": []}