Python Programming, news on the Voidspace Python Projects and all things techie.
Old Style Classes and Object
This must be the longest I've been without making an entry for a long time.
Anyway, this surprised me :
>>> a = x()
>>> isinstance(a, object)
... if not hasattr(a, e):
... print e
Why is an instance of an old style class reported as being an instance of object ?
Movable Python 2.0.0 Final
Movable Python 2.0.0 Final is now available.
The new binaries are available for download from the groups pages :
Binaries are uploaded for Python 2.2.3, 2.3.5, 2.4.4, 2.5 and the MegaPack.
There is also a fresh version of the free demo, based on Python 2.3.5:
What is Movable Python
Movable Python is a distribution of Python, for Windows, that can run without being installed. It means you can carry a full development environment round on a USB stick.
It is also useful for testing programs with a 'clean Python install', and testing programs with multiple versions of Python.
The GUI program launcher makes it a useful programmers tool, including features like :
- Log the output of all Python scripts run
- Enable Psyco for all scripts
- Quick Launch buttons for commonly used programs
- Configure multiple interpreters for use from a single interface
It comes with the Pythonwin IDE and works fine with other IDEs like SPE.
Plus many other features and bundled libraries.
What's New ?
Updated to wxPython 2.8.0, PIL 1.1.6, psyco 1.5.2, ctypes 1.0.1 and pyEnchant 1.3.0.
Fixed bug so that the documentation will launch from the menu.
A Movable Python user, Jim C, has been using Movable Python to work on a cluster-based virtual reality programming environment. This is called Aszgard, and is based on Syzygy. These are both produced with the Integrated Systems Laboratory, part of the University of Illinois.
This work is licensed under a Creative Commons Attribution-Share Alike 2.0 License.