How do I invoke IE browser from Python on Mac OS X?

Skip Montanaro skip at pobox.com
Mon Oct 21 10:10:01 EDT 2002


    Graham> If the application bundle is installed in any of the standard locations, ie.,
    Graham> in /Applications of $HOME/Applications, it is enough to say:

    Graham>   open -a ApplicationName someargs

    Graham> ie.:

    Graham>   open -a "Internet Explorer" http://www.python.org

    Graham> You don't need the full path or ".app" extension.

Nah, that didn't work either.  (I tried it before I posted my previous
reply, but forgot to mention it.)  I suspect perhaps there's something
special about URLs so that they are only opened with the default browser.

-- 
Skip Montanaro - skip at pobox.com
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list