Open a file, directory, or URI using the OS's default application for that object type. Optionally, you can specify an application to use.
This is a proxy for the following commands:
OSX: "open"
Windows: "start"
Linux/Other: "xdg-open"
This is a python port of the node.js module: https://github.com/pwnall/node-open
import open_python
open_python.start("https://google.com/")
open_python.start("https://google.com/", "firefox")
$ python -m open_python https://google.com/
Copyright (c) 2013 skratchdot
Licensed under the MIT license.
skratchdot panda2134