mhammond at skippinet.com.au
Tue Aug 27 02:53:35 CEST 2002
Justin Guerin wrote:
> Hello everyone,
> script? I'm trying to write a script to browse a web site that makes use of
> I checked http://www.python.org/doc/essays/comparisons.html, where Guido
> wrote that "a Python implementation written in Java is under development,
> which allows calling Python code from Java and vice versa." If he's
> referring to Jython, then maybe I need to check the Jython web site more
> carefully, but from what I saw, it allows you to run Python code from within
> Java, but not Java code from within Python. And actually, since I'm more
> Google hasn't helped me thus far, but maybe I've got the wrong search terms.
> be exec()'d in Python? That would probably be good enough.
> Any help / pointers are greatly appreciated. Thanks in advance!
> Justin Guerin
code from within Python.
browser implements the "document", "window" and other objects - these
Your best choice may simply be to automate IE via Python - don't use the
HTML directly using Python modules, but instead use win32com to get IE
to open the page, and use the object model to navigate to whatever it is
you are after.
Hope this helps,
More information about the Python-list