Python Programming, news on the Voidspace Python Projects and all things techie.

Old Style Classes and Object

emoticon:music This must be the longest I've been without making an entry for a long time. Smile

Anyway, this surprised me :

>>> class x:
...    pass
>>> a = x()
>>> isinstance(a, object)


>>> for e in dir(object):
...  if not hasattr(a, e):
...   print e

Why is an instance of an old style class reported as being an instance of object ?

Like this post? Digg it or it.

Posted by Fuzzyman on 2007-01-25 22:43:01 | |

Categories: ,

Movable Python 2.0.0 Final

emoticon:movpy2 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.

Like this post? Digg it or it.

Posted by Fuzzyman on 2007-01-20 00:48:28 | |

Categories: , ,


emoticon:waffle 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.

Like this post? Digg it or it.

Posted by Fuzzyman on 2007-01-20 00:36:27 | |

Categories: , ,

Hosted by Webfaction