>Hello I can't seem to get the IDLE to start up in my windows XP by clicking on the desktop icon. To start it I have to >drop a .py file on the icon. Any ideas?
Danny just answered that, I believe... so next! >Also I can't seem to get xp to recognize .py files belonging to python. Right now the icons for .py is a windows default >and not the python icon. So if I double click on a script that I want to work on it doesn't open the idle. I have to open the >script from IDLE. Any ideas on this problem? Go to Control Panel, then to Folder Options. Click on the File Associations tab (I think that's what it's called-whatever-it's the last one) You should get a whole bunch of registered file types. Go down to PY. Click on on the advanced button Double click on Open Change the command to "C:\python24\pythonw.exe" "C:\python24\lib\idlelib\idle.pyw" -n -e "%1" (Obviously, you are either going to have to get Danny's suggestion working, or you will have to change it from pythonw.exe to python.exe) I often think it's best to present a way to run scripts straight from the interpreter. So, change Edit with IDLE's command to "C:\python24\python.exe" "%1" %* Change the name on the same thing to "Open with Console" --- or something like that.. Click Ok however many times is necessary... Now--what you've just done is to set it up so that double clicking results in IDLE starting up, and right clicking shows two commands Open & Open with console (or the equivalent) Open with console should run the script straight from the interpreter. HTH, Jacob (Yes, I'm the same Jacob that Danny mentioned) _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor