Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...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 …
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 …
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 …
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...
...interpreter). See the detailed release notes for more details. Since the release candidate, we have backed out a couple of small changes that caused 2.5.1 to behave differently to 2.5. Again, see the release notes for more. For more information on the new features of Python 2.5.1 see the 2.5 highlights or consult Andrew Kuchling's What's New In Python for a more detailed view. Please see the separate bugs page for known issues and the bug reporting procedure. See also the license. Download the...
...interpreter, and improving its portability. If you want the latest production version of Python, use Python 2.7 or later. See the detailed release notes for more details. Since the release candidate, we have backed out a few changes that did not work correctly on 64-bit systems. Again, see the release notes. For more information on the new features of Python 2.5.2 see the 2.5 highlights or consult Andrew Kuchling's What's New In Python for a more detailed view. Please see the separate bugs page ...
...interpreter, and improving its portability. Future releases will only address security isses, and no binaries or documentation updates will be provided in future releases of Python 2.5. If you want the latest production version of Python, use Python 2.7.2 or later. See the detailed release notes for more details. For more information on the new features of Python 2.5 see the 2.5 highlights or consult Andrew Kuchling's What's New In Python for a more detailed view. Please see the separate bugs pa...
Python Success Stories Introduction Cog is a simple code generation tool written in Python. We use it or its results every day in the production of Kubi. Kubi is a collaboration system embodied in a handful of different products. We have a schema that describes the representation of customers' collaboration data: discussion topics, documents, calendar events, and so on. This data has to be handled in many ways: stored in a number of different data stores, shipped over the wire in an XML repr...
If you didn't find what you need, try your search in the Python language documentation.