[Python-Dev] urllib.browse() issues

Jack Jansen jack@oratrix.nl
Fri, 07 Jul 2000 12:46:56 +0200


Recently, "Eric S. Raymond" <esr@thyrsus.com> said:
> Environment variables work for Windows users, too -- and I believe
> there's a functionally similar name/value pair facility available
> through system resource forks on the Mac.  I really think a profile
> file is excessively heavyweight here.  Environment variables or X
> resources are a better medium for this kind of shared preference.

On the Mac life is easy: Internet Config keeps all this knowledge (and 
much more) in a database, and Python has an interface to it. So the
code is simply
	import ic
	ic_instance = ic.IC()
	ic_instance.launchurl(url)
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm