Python

From OLPC
Revision as of 17:20, 1 June 2006 by Memracom (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • You can download nicely packaged Python called ActivePython. They proclaim themselves as the All-in-one Python distribution for AIX, HP-UX, Linux, Mac OS X, Solaris, and Windows.
  • Another package of Python that includes graphical modules including 3D is called Visual Python. It is available for Windows, Mac, Linux and UNIX.
  • There is also a scientific distribution of Python called SciPy. This also supports Windows, Mac and Linux.

PyGTK is the Python interface to the GTK GUI library used in the OLPC. This library is notable for a component named Pango which simplifies the use of multiple scripts and languages. In addition, it's basic drawing library, Cairo, has some of the best support of SVG rendering which is also a major component of the OLPC.

The premier graphing tool for Python which puts graphing calculators to shame is Matplotlib. It does support output to GTK and to SVG which are both supported on the OLPC. However, there is another Python charting app called PyChart which is probably more suitable to being stripped down (remove Postscript) into a tool for the OLPC.