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 sh
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. Somethin
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
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 availab
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 to
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 functionali
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 pag
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 pag
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
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, an
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
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 whe
12 matches
Mail list logo