Launching the Browser

From IronPython Cookbook

This one is easy - launching the default browser with a specific URL:

>>> from System.Diagnostics import Process
>>> Process.Start('')

Process.Start works cross-platform. Mono uses start command on Windows, open command on Mac OS X, and xdg-open from Portland Project on Unix.

Back to Contents.