Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
...interpreter for the new scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python's Flying Circus). Today, I can safely say that Python has changed my life. I have moved to a different continent. I spend my working days developing large systems in Python, when I'm not hacking on Python or answering Python-related e...
...interpreter living in such a .app bundle, this interpreter should be used to run any Python script using the window manager (including Tkinter or wxPython scripts). Most of Mac/Lib has moved to Lib/plat-mac, which is again used both in MacPython-OSX and MacPython-OS9. The only modules remaining in Mac/Lib are specifically for MacPython-OS9 (CFM support, preference resources, etc). A new utility PythonLauncher will start a Python interpreter when a .py or .pyw script is double-clicked in the Find...
...interpreters, the built-in class objects (being statically allocated data structures) are shared between all interpreters; thus, code running in one interpreter might wreak havoc on another interpreter, which is a no-no. Static methods and class methods The new descriptor API makes it possible to add static methods and class methods. Static methods are easy to describe: they behave pretty much like static methods in C++ or Java. Here's an example: class C: def...
...interpreters, the built-in class objects (being statically allocated data structures) are shared between all interpreters; thus, code running in one interpreter might wreak havoc on another interpreter, which is a no-no. Static methods and class methods The new descriptor API makes it possible to add static methods and class methods. Static methods are easy to describe: they behave pretty much like static methods in C++ or Java. Here's an example: class C: def foo(x, ...
...interpreter with these packages, you will explicitly have to run "python2.3". Note that all Python RPMs provided by Python.org and Red Hat provide a "/usr/bin/python2.3" (or similar, with major/minor number), even if they also provide "/usr/bin/python". So, yes, it should be safe. <p /> Note that you may need to build and install a second copy of any packages which you need access to with the supplemental version of Python. You can build packages of these f...
...interpreter with these packages, you will explicitly have to run "python2.4". Note that all Python RPMs provided by Python.org and Red Hat provide a "/usr/bin/python2.4" (or similar, with major/minor number), even if they also provide "/usr/bin/python". So, yes, it should be safe. <p /> Note that you may need to build and install a second copy of any packages which you need access to with the supplemental version of Python. You can build packages of these f...
...interpreter. (See section 8.1, Optimizations, of the "What's New" document for more). New language features multi-line imports - when using imports in the form from foo import bar, baz, bing, bang, you can surround the imported names with brackets, and they can be split across lines. This is part of PEP 328. Farewell to OverflowWarning - as documented in PEP 237, Python no longer generates OverflowWarnings. function/method decorators - function and method decorators, first describ...
...interpreter might be IPython. In addition to IDLE, there are a number of third party tools which you can find out by referring to the Python Editors Wiki and the Python Integrated Development Environments Wiki. Learning resources These are resources, interactive on-line tutorials, and other educational resources that either help teach python or use Python to teach programming. Online Python Tutor is a free educational tool created by Philip Guo that helps students overcome a fundamental barri...
Version: None
Released: Feb. 21, 2008
Python 2.5.2 was released on February 21st, 2008. This is the second bugfix release of Python 2.5. Python 2.5 is now in bugfix-only mode; no new features are being added. According to the release notes, over 100 bugs and patches have been addressed since Python 2.5.1, many of …
View Release Notes
Released: Dec. 19, 2008
Python 2.5.3 was released on December 19th, 2008. This is the last bugfix release of Python 2.5. Python 2.5 is now in bugfix-only mode; no new features are being added. According to the release notes, about 80 bugs and patches have been addressed since Python 2.5.2, many of …
Released: April 19, 2007
Python 2.5.1 was released on April 18th, 2007. This is the first bugfix release of Python 2.5. Python 2.5 is now in bugfix-only mode; no new features are being added. According to the release notes, over 150 bugs and patches have been squished since Python 2.5, including a …
Python Success Stories Introduction ForecastWatch.com, a service of Intellovations, is in the business of rating the accuracy of weather reports from companies such as Accuweather, MyForecast.com, and The Weather Channel. Over 36,000 weather forecasts are collected every day for over 800 U.S. cities, and later compared with actual climatological data. These comparisons are used by meteorologists to improve their weather forecasts, and to compare their forecasts with others. They are also used...
...interpreter The result? "We achieve immediate functioning code so much faster in Python than in any other language that it's staggering," says Friedrich. "Java and C++, for example, have much more baggage you have to understand just to get a functioning piece of software. "Python also shines when it comes to code maintenance," according to Friedrich. "Without a lot of documentation, it is hard to grasp what is going on in Java and C++ programs and even with a lot ...
Python Distutils-SIG: Design Proposal Python Distutils-SIG (Prerequisites: please read the proposed interface before trying to plough through this design document; it is very much a sequel to the interface document.) Design Proposal The Distutils' point of view setup.py only has to import one module, distutils.core. This module is responsible for parsing all command-line arguments to setup.py (even though the interpretation of options is di...
If you didn't find what you need, try your search in the Python language documentation.