Active Scripting in Python

Jane Austine janeaustine50 at hotmail.com
Thu Sep 4 00:23:00 EDT 2003


I donwloaded win32all for Python 2.3 and installed it.

I manually run pyscript.py and it returned "successfully registered"
message.

For a simple test(on client side), I created the following html:

<script language=Python>
alert("hello world")
</script>

And opened it in IE6.0 on WinXP.  Unfortunately, it doesn't show
anything.

After googling, I tried "pyscript.py --debug" and the trace collector
shows:

Object with win32trace dispatcher created (object=None)
 in _InvokeEx_ with GetInterfaceSafetyOptions 0 1
(IID('{BB1A2AE2-A4F9-11CF-8F20-00805F2CD064}'),) None None
in _InvokeEx_ with GetInterfaceSafetyOptions 0 1
(IID('{BB1A2AE1-A4F9-11CF-8F20-00805F2CD064}'),) None None

Am I doing something stupid?

Jane




More information about the Python-list mailing list