Need to open an Url and display it in a window created using Python win extensions

shaik_saleem at hotmail.com shaik_saleem at hotmail.com
Thu Dec 20 16:30:06 EST 2007


I'm pretty new to Python and I've been searching all over the place to
find a solution for this.
I have a html page with some javascript in it and I need to load this
page in my own window (which I will create using PythonWin). The
reason for this is to have capability to control the window properties
and at the same time have access to click on the "submit" buttons in
the webpage.e


So basically, I will open a wepage as shown below -

import win32com.client
import win32api
import win32gui

ie = win32com.client.Dispatch( "InternetExplorer.Application" )
ie.Visible = 1
ie.Navigate("http://www.microsoft.com/")

And then I need to display it in a window that I will create as shown
below -
hwnd = CreateWindowEx(...)

I will be so grateful if anyone can give me some pointers on how to go
about this.

Thank you for reading



More information about the Python-list mailing list