[Python-Dev] urllib.browse() issues

Eric S. Raymond esr@thyrsus.com
Sun, 9 Jul 2000 20:40:09 -0400


Ka-Ping Yee <pingster@ilm.com>:
> Hmm, i rather like this idea.  Actually, i like it enough to
> suggest that "launch" would be a good interface to external
> applications --
> 
>     launch.filebrowser("/home")
>     launch.webbrowser("http://www.python.org/", newwindow=1)
>     launch.mailreader()
>     launch.mailcomposer("python-dev@python.org", subject="Spam")
>     launch.textviewer("README")
>     launch.texteditor("spam.py")
>     launch.shell("/usr")
>     launch.remoteshell("unseen.python.org", port=23)
> 
> On Unix this would take advantage of (and formalize) the PAGER,
> EDITOR, BROWSER, etc. environment variables; on Windows they
> could look at registry settings, and for Mac, they could use IC.

I like it.
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

..every Man has a Property in his own Person. This no Body has any
Right to but himself.  The Labour of his Body, and the Work of his
Hands, we may say, are properly his. .... The great and chief end
therefore, of Mens uniting into Commonwealths, and putting themselves
under Government, is the Preservation of their Property.
	-- John Locke, "A Treatise Concerning Civil Government"