[Tutor] IDLE in linux

alan.gauld@bt.com alan.gauld@bt.com
Wed, 19 Dec 2001 17:51:33 -0000

> and configure Slackware, X, and Gnome. 

Well done!

> great except I cannot use IDLE. 

Assuming you built IDLE with Tkinter support built in....

> /usr/local/Python2.2c1/Tools/idle and the idle command is 
> there, but when I try to run it from bash I 
> get "command not found". 

How exactly did you try to run IDLE?

$ python idle.py

Should do it if you are in the same directory as idle.py

> run it in X

Yes you will need X running.

> I also tried at python command line without success. 

That probably won't work, your best to use the Bash prompt.

You could create an alias for bash:

alias idle='python <your idle path here>/idle.py'

Or a link to the idle.py file from GNOME if the association 
of .py and python is set up.

Alan G.