[Patches] Giving Python launch capav\bility

M.-A. Lemburg mal@lemburg.com
Sat, 10 Jun 2000 11:38:03 +0200


Moshe Zadka wrote:
> 
> On Sat, 10 Jun 2000, Eric S. Raymond wrote:
> 
> > Patch description:
> >
> > Add a small function to urllib that supports launching a browser on
> > a specified URL.  Doc patch included because it's short and
> > explains the function in detail.
> 
> I'm -1: this adds to urllib something that is platform dependant, and
> doesn't really belong there.

Dito. Why not add it to os.py (and add support for Win32 platforms) ?

> I'm +1, though, on installing idle as a package by default.
> 
> Then a simple
> 
> import idle.BrowserControl
> 
> would solve the problem.

Not a bad idea, but will IDLE work as package ?  (I see lots
of relative imports in there.)

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/