mozilla

Revision 62292 of Python

  • Revision slug: Python
  • Revision title: Python
  • Revision id: 62292
  • Created:
  • Creator: Nickolay
  • Is current revision? No
  • Comment 7 words added, 210 words removed

Revision Content

Python is an interpreted scripting language available on a wide variety of platforms, including Linux, Mac OS X, and Microsoft Windows.

Learning Python

Dive Into Python is the best introduction available. It provides good coverage on all the language basics, and common tasks such as web requests and file operations. For more advanced topics, Text Processing In Python is an excellent reference and tutorial.

Python in Mozilla

Mozilla is (largely) built on top of XPCOM. Similarly, the Python XPCOM package is the low-level glue that ties Python and Mozilla together.

Python is also bound to the DOM (starting with Mozilla 1.9). Mozilla chrome (e.g., XUL or trusted HTML) can use Python. The PyDOM page has more information. More information is available on the Python XPCOM page.

Python is also beginning to be used more for scripts that do various things with Mozilla apps. It would be useful to have a document on Python Environment and Tools for Mozilla.

Python Web Software

Pylons-related content moved to a separate page: Pylons.

Revision Source

<p><a class="external" href="http://www.python.org">Python</a> is an interpreted scripting language available on a wide variety of platforms, including Linux, Mac OS X, and Microsoft Windows.</p>
<h2 name="Learning_Python">Learning Python</h2>
<p><a class="external" href="http://www.diveintopython.org/toc/index.html">Dive Into Python</a> is the best introduction available. It provides good coverage on all the language basics, and common tasks such as web requests and file operations. For more advanced topics, <a class="external" href="http://gnosis.cx/TPiP/">Text Processing In Python</a> is an excellent reference and tutorial.</p>
<h2 name="Python_in_Mozilla">Python in Mozilla</h2>
<p>Mozilla is (largely) built on top of <a href="/en/XPCOM" title="en/XPCOM">XPCOM</a>. Similarly, the <a href="/en/PyXPCOM" title="en/PyXPCOM">Python XPCOM package</a> is the low-level glue that ties <a class="external" href="http://www.python.org">Python</a> and Mozilla together.</p>
<p>Python is also bound to the DOM (starting with Mozilla 1.9). Mozilla chrome (e.g., <a href="/en/XUL" title="en/XUL">XUL</a> or trusted HTML) can use Python. The <a href="/en/PyDOM" title="en/PyDOM">PyDOM</a> page has more information. More information is available on the <a href="/en/PyXPCOM" title="en/PyXPCOM">Python XPCOM</a> page.</p>
<p>Python is also beginning to be used more for scripts that do various things with Mozilla apps. It would be useful to have a document on <a href="/en/Python_Environment_and_Tools_for_Mozilla" title="en/Python_Environment_and_Tools_for_Mozilla">Python Environment and Tools for Mozilla</a>.</p>
<h2>Python Web Software</h2>
<p>Pylons-related content moved to a separate page: <a class="internal" href="/Pylons" title="Pylons">Pylons</a>.</p>
Revert to this revision