Python in HTAs

Michael P. Dubner dubnerm-news at mail.ru
Fri Oct 22 21:00:32 CEST 2004


Only one fix: you can ever use:

gnu valued customer wrote:

>><html>
>><head>
>><title>Python controlled HTML application</title>
>><hta:application id="oApplication">
>><script language="python">
>>def Onload():
>>    alert('hello from python')
>>    document.all["idspan"] = 'hello from python'
>>    
>>
>
> document.getElementById('idspan').innerHTML = 'hello from python'
>  
>
    document.all['idspan'].innerHTML = 'hello from python'

>></script>
>></head>
>><body onload="Onload();">
>><span id="idspan" ></span>
>></body>
>></html>
>>
>>Could not find any example on Google either.
>>
>>TIA,
>>Marcel
>>    
>>
-- 
Best regards,
Michael Dubner (dubnerm.at.mindless.com)
Brainbench MVP/HTML+JavaScript (http://www.brainbench.com)
PS: Sorry for my English




More information about the Python-list mailing list