Create a cross-platform protocol helper that runs a python script

I would like to register a protocol handler, for example "myapp:", on OS X, Linux and Windows, so when someone clicks on a URL, for example "myapp: // some / params" in a web browser, python The script will be called and passed in these parameters.

Obviously, this will require something installed on each machine, but just try to figure out a way to make it work on all three platforms.

+5
source share
1 answer

Are you talking about the browser plug-in? If so, which browsers?

Firefox? https://addons.mozilla.org/en-US/firefox/addon/6710

? http://pyconuk.org/talk_abstracts.html Epiphany Python.

-, Microsoft IronPython IE. . http://ironpython-urls.blogspot.com/2008/06/try-python-python-in-browser-with.html

0

All Articles