Reputation: 2169
How can I use Python to add a handler to a browser, so when someone clicks a link like foo://foobar/ it'll open my program to handle it? Ideally there would be a way to do it cross-platform, but I recognize that OS-specific code will probably be needed.
Upvotes: 3
Views: 1665
Reputation: 56881
I am not sure, why you are looking for OS Specific code. But there is module called webbrowser, which you are use in your programs as a handler which can open your platform specific browser. Does this help?
Upvotes: -1