[Idle-dev] Py-CVS Release 2.1 Merge

Kurt B. Kaiser kbk@shore.net
14 Jul 2001 18:35:58 -0400


kbk@shore.net (Kurt B. Kaiser) writes:

> Guido van Rossum <guido@digicool.com> writes:
> > When I start it now, I get an "untitled" editing window instead of the
> > Python Shell window.  I can get the Shell window via the Windows menu,
> > but the editing window is kind of uninviting.  Is this a feature?  I
> > want my shell back! :-)
> 
> After installing to site-packages, I'm seeing an error related to loader.py
> when I start up. That may be why the shell doesn't come up.
> 
> Yes, the shell should come up automatically! It's where a beginner starts.
> 

1. The error related to loader.py was because imp.find_modules couldn't find
   the idle files from an arbitrary location.  I fixed that by putting a file
   named site-packages.pth in the site-packages directory, its contents are
   
   idlelib
   fidlelib

   I have idle and fidle (it's easy to type f's in front of things ;)
   co-existing. 

   What is the story on site-packages? Should all systems have a file like the
   one I set up, which could be appended as packages are installed?

2. The shell not coming up is a feature. To quote Scherer in PyShell,

   "Default behavior (no command line options) is to NOT start the Python
     Shell.  If files are specified, they are opened, otherwise a single blank
     editor window opens."

   So start up with fidle -t "Guido's Shell" & 
   and you're all set.

   I don't know why Dave chose this behavior, maybe he's listening.


Regards, KBK