Programmer-Wanna-Be (Is Python for me?)

Alex Martelli aleaxit at yahoo.com
Thu Oct 12 16:51:35 EDT 2000


"Geoff Talvola" <gtalvola at nameconnector.com> wrote in message
news:mailman.971368650.28215.python-list at python.org...
    [snip]
> In playing around with HTA's, I immediately encountered a problem.  The
> following HTA page brings up the alert box twice, yet the JavaScript
version
> right after it correctly brings it up only once.  Can you reproduce this?
>
> <HEAD>
> <SCRIPT LANGUAGE=Python>
> def window_onload():
>   alert('window_onload was called!')
> </SCRIPT>
> </HEAD>
>
> <HEAD>
> <SCRIPT LANGUAGE=JSCRIPT>
> function window.onload()
> {
>   alert("window.onload was called!")
> }
> </SCRIPT>
> </HEAD>

Peculiar!  Yes, it's quite reproducible.  I have no idea of what is causing
it, though!  I wonder where such issues should be submitted -- maybe
on the ActiveState site...?


Alex






More information about the Python-list mailing list