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('http://www.voidspace.org.uk/')

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.

TOOLBOX
LANGUAGES