Main
Language
Runtime
Tools
FAQs
Changes
Download
Licence
cheesy

Idle Download Page

Currently, there are five files available. All are standard zip files; to install simply unpack them in a suitable directory (with subdirectories enabled).

After downloading and checking the MD5 and SHA1 checksums you should unpack the zip file(s) into a single directory. The full package installs into the following directory tree:

Idle directory tree

Getting Idle to work
top of page

After unpacking the zip into a subdirectory of your choice you should set the PATH and IDLE_PATH environment variables to include the Idle bin\ directory (which is in the directory where you unpacked the Idle zip, see also the included batch file bin\setIDLE_PATH.bat and the readme file in test\). Once you have done that, you can test Idle by simply executing the eponymous script in subdirectory test\:

cd test
idle.exe Test.idle

If this (or any other of the included scripts) doesn't work but instead spits out a screenful of error messages, like that shown below, your setting of IDLE_PATH is almost certainly the culprit.

c:\Program Files\Idle\bin\Idle.exe: F:\test.idle:1: module 'Idle' not found:
        no field package.preload['Idle']
        no file '.\Idle.idle'
        no file '..\Idle.idle'
        no file 'C:\Program Files\UTILS\Idle.idle'
        no file '.\Idle03.dll'
        no file '..\Idle03.dll'
        no file 'C:\Program Files\UTILS\Idle03.dll'
        no file 'C:\Program Files\UTILS\loadall.dll'
stack traceback:
        [C]: in function 'require'
        F:\test.idle:1: in main chunk
        [C]: ?

Please double-check IDLE_PATH and have another look or two at the readme in subdirectory test\.

If you want to register the .idle file type in the Windows registry, there is a little script included (see bin\RegisterIdle.idle) that should do the trick. This program also attempts to change CMD.EXE's PATHEXT environment variable such that you can execute .idle script files without having to type the tedious 'idle.exe' in front. I am not sure whether this will work for all the different versions of CMD.EXE as my experience with that shell is rather limited. Even if it does work there seem to be 'issues' with programs that use PATHEXT-run scripts in connection with file redirection. It's all Microsoft stuff, so YMMV.

If you happen to use a recent version of the excellent 4NT command line processor, you can simply create an executable extension for .idle (see the 4NT help). There are no problems with file redirection under 4NT that I know of.



$$ built from IdleDownload.txt ba7dd5701f6d Wed May 07 15:24:02 2008 +0100 thomasl $$