'A' Web Browser? Meaning: any random web-browser? Or specifically and *only* Internet Explorer?
If you want it to work only and ever only in Internet Explorer, then you can create a Python ActiveX object and embed that in your page; using the pythonwin extensions. Cheers, --Tim -- http://mail.python.org/mailman/listinfo/python-list