User:Rmyers/IDLE on the XO: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Started this page)
 
Line 4: Line 4:


== What's already there ==
== What's already there ==
The Python 2.5 distribution that comes on the XO already contains IDLE. The IDLE library is located at /usr/lib/Python2.5/idlelib. The IDLE main module is idle.py.

So in a terminal window you ought to be able to
cd /usr/lib/python2.5/idlelib
python idle.py
to fire it up.

This doesn't <u>quite</u> work. You'll get a message that tkinter is missing.


== Tkinter ==
== Tkinter ==

Revision as of 23:54, 20 July 2008

IDLE is the default IDE for Python. The XO has a very limited Python viewer and editor Pippy. There is a more advanced environment Develop under development.

I decided to try to get the IDLE environment working on the XO. I wanted an XO based Python IDE that I could use to show Python code, and which would allow intermediate level development directly on the XO. As Develop matures this will probably no longer be necessary.

What's already there

The Python 2.5 distribution that comes on the XO already contains IDLE. The IDLE library is located at /usr/lib/Python2.5/idlelib. The IDLE main module is idle.py.

So in a terminal window you ought to be able to

   cd /usr/lib/python2.5/idlelib
   python idle.py

to fire it up.

This doesn't quite work. You'll get a message that tkinter is missing.

Tkinter

Font issues

IDLE under Sugar

IDLE under XFCE