On 11 Feb 2006 11:44:29 -0800, Paul Boddie [EMAIL PROTECTED] wrote:
Jorgen Grahn wrote:
...
On my machines, there is One Correct Way of doing these things, and that's
to look in the MIME support/configuration files (~/.mailcap, and so on),
first for the user, then system-wide. Something there
Jorgen Grahn wrote:
On 11 Feb 2006 11:44:29 -0800, Paul Boddie [EMAIL PROTECTED] wrote:
Indeed. Thanks for reminding me about mailcap/metamail - I used them in
And thanks for mentioning the real name of that mechanism!
Happy memories! ;-)
[...]
import mailcap
I guess I shouldn't be
On 10 Feb 2006 03:51:01 -0800, Paul Boddie [EMAIL PROTECTED] wrote:
John McMonagle wrote:
On Thu, 2006-02-09 at 17:53 -0600, Larry Bates wrote:
You don't have to determine it. Just os.startfile('page1.html')
and let the OS figure it out.
Works great for Windows - not available on Unix
Jorgen Grahn wrote:
[desktop module]
Note that those do not, of course, work on all Unices.
Correct: they work only for the stated desktop environments.
On my machines, there is One Correct Way of doing these things, and that's
to look in the MIME support/configuration files (~/.mailcap,
John McMonagle wrote:
Is there a python module which can determine an operating system's
default web browser application.
I would like to use it in the following context: I have a GUI
application where all the documentation is written as html pages. I
wish to have these html help pages
John McMonagle wrote:
Is there a python module which can determine an operating system's
default web browser application.
I would like to use it in the following context: I have a GUI
application where all the documentation is written as html pages. I
wish to have these html help pages
John McMonagle wrote:
On Thu, 2006-02-09 at 17:53 -0600, Larry Bates wrote:
You don't have to determine it. Just os.startfile('page1.html')
and let the OS figure it out.
Works great for Windows - not available on Unix though.
Take a look at the desktop module for similar functionality for
John McMonagle [EMAIL PROTECTED] wrote:
Is there a python module which can determine an operating system's
default web browser application.
http://docs.python.org/lib/module-webbrowser.html
--
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
___ | Frankly I have no feelings
Is there a python module which can determine an operating system's
default web browser application.
I would like to use it in the following context: I have a GUI
application where all the documentation is written as html pages. I
wish to have these html help pages open in the default browser
You don't have to determine it. Just os.startfile('page1.html')
and let the OS figure it out.
-Larry Bates
John McMonagle wrote:
Is there a python module which can determine an operating system's
default web browser application.
I would like to use it in the following context: I have a
On Thu, 2006-02-09 at 17:53 -0600, Larry Bates wrote:
You don't have to determine it. Just os.startfile('page1.html')
and let the OS figure it out.
Works great for Windows - not available on Unix though.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and
Larry Bates wrote:
You don't have to determine it. Just os.startfile('page1.html')
and let the OS figure it out.
Note that this only works on Windows.
--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo