It may not be the most up to date libraries and such, but it works.
Installing Python:
Using Puppy Package Manager under the category System install python_plus-2.6.6-i486-s
After installing you will have the following missing libraries:
libtcl8.5.so libtk8.5.so libgoocanvas.so.3
Open a console and type "python" you should see:
#python
Python 2.6.6 (r266:84292, Nov 27 2010, 1947:39)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license for more information
>>>
(No errors in the python installation)
Type "quit()" to exit python
Cleaning up two of the missing libraries:
Goto http://dotpups.de/ITAmember/python/, download and install:
tcl-8.5.7-p4.pet
tk-8.5.7-p4.pet
Open a console and type "python" then "import Tkinter" you should see:
#python
Python 2.6.6 (r266:84292, Nov 27 2010, 1947:39)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license for more information
>>>import Tkinter
>>>
(No errors in the Tkinter installation)
Again type "quit()" to exit python
Goto http://packages.ubuntu.com/lucid/i386/l ... 3/download, download and install
Getting Geany to execute Python programs:
Open Geany and select Edit > Preferences
In Tools change the Terminal to "/usr/bin/xterm -e ebash -c"
Testing Tkinter:
Open Geany and create a new document and enter
Code: Select all
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack()
root.mainloop()
Save it as HelloWorld.py
Press the Execute button
The program should execute without errors
Reference Material:
http://www.pythonware.com/library/tkint ... /index.htm
Useful Python Libraries
Basic setup instructions:
1. Download the source from one of the links below
2. Unpack the source distribution and change directory to the resulting top-level directory.
3. Type "python setup.py install"
http://www.crummy.com/software/BeautifulSoup/
http://wwwsearch.sourceforge.net/mechanize/