javascript execution from Python script

Matt Gerrans matt_gerrans at
Mon Aug 26 14:10:50 EDT 2002

Java and JavaScript are entirely different and unrelated animals; the fact
that they have similar names is just the result of a horrible marketing
blunder.   Jython is very nifty and allows you to call Java from Python and
vice versa (in fact, regarding the eternal question of Tkinter vs. wxWindows
et al, I am beginning to like the idea of using Swing via Jython), but from
what you've said it looks like you are really more interested in JavaScript,
not Java.

What exactly are you trying to accomplish?

Also, what platform are you using?    If it is Windows, then there may be
hope of solving your problem using the Windows Script Host; Python works
pretty well with it.   Python can also be used to automate Internet Explorer
on the Windows platform (I wonder if that can be done on the Mac platform as
well?).   If it is Unix/Linux, I'm not sure what options you have.

More information about the Python-list mailing list