Adding manual access to IDLE

Jesse Weinstein jessw at loop.com
Wed Sep 1 19:13:31 EDT 1999


I realise that my code is rather unportable ;) but I don't know how to
get more portable code, such as portable browser or doc location.  If
anyone can help, it would be gratefully apreacieated.

						Jesse W

Blake Winton wrote:
> 
> On Mon, 30 Aug 1999 17:39:56 -0700, JW wrote:
> >I am a very new user of Python, and although IDLE is a godsend(Ooh,
> >colors!), it was curiously missing any access to the Python
> >Documentation.  I added a simple command to open the docs, but it is
> >pretty ugly, and I wonder if anyone else has noticed this problem or has
> >any sugestions about dealing with it?
> >
> >These are my alterations in the IDLE source:
> >       os.system("C:\INTERNET\NETSCAPE\NAVIGA~1\PROGRAM\NETSCAPE.EXE
> >C:\python\doc\index.html") #JW
> 
> Looks fine to me, up until this point...
> 
> I don't have Netscape installed, and if I did, it wouldn't be on C:\...
> (It would probably be at /opt/netscape/bin/netscape)
> 
> I like the idea, though, and am now wishing for a decent HTML Text
> Widget in Tkinter.  (I know that Gnome has one, but I'ld like to
> maintain the cross-platformness of IDLE.)  Oh well, I've got some
> vacation coming up, perhaps I'll build one.  ;)
> 
> Oh, yeah, and the docs are on a different place on my machine as well.




More information about the Python-list mailing list