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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shaik_saleem@hotmail.com

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

    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( "InternetExplor er.Application" )
    ie.Visible = 1
    ie.Navigate("ht tp://www.microsoft.c om/")

    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
  • Farsheed Ashouri

    #2
    Re: Need to open an Url and display it in a window created usingPython win extensions

    Can you post your basic wx part code?

    Comment

    • shaik_saleem@hotmail.com

      #3
      Re: Need to open an Url and display it in a window created usingPython win extensions

      On Dec 20, 6:50 pm, Farsheed Ashouri <rodmena....@gm ail.comwrote:
      Can you post your basic wx part code?
      I have not started writing any code yet. I just wanted to see if it is
      do-able and find out if there are any examples on the web

      Comment

      Working...