[python-win32] Active Scripting in Python

Austine Jane janeaustine50 at hotmail.com
Fri Sep 5 09:45:43 EDT 2003


>From: Jeff Shannon <jeff at ccvcorp.com>
>To: python-win32 at python.org
>CC: Austine Jane <janeaustine50 at hotmail.com>
>Subject: Re: [python-win32] Active Scripting in Python
>Date: Thu, 04 Sep 2003 13:26:54 -0700
>
>Austine Jane wrote:
>>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.
>
>Is this embedded within a full html page?  (I.e., is it wrapped with at 
>least <html></html> tags?)  If not, that may be the problem.
>

I tried them in a proper html page. Even with "print" instead of "alert" but 
all to fail.

>Also, Python is much pickier than VB/Jscript about specifying the full 
>namespace of objects.  Where's this alert() coming from?  You may need to 
>specify it as belonging to the document or the application object.
>

Those htmls in demo directory don't work, either.

>Jeff Shannon
>Technician/Programmer
>Credit International
>

Thanks anyway.

Jane

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the Python-win32 mailing list