Sory for my English, i'am from Russia

Please, Help Me...

There is such code:


import wx
import sys
import time
import cefpython

class MainFrame(wx.Frame):

    browser = None

    def __init__(self):
        wx.Frame.__init__(self, parent=None, id=wx.ID_ANY, title='wxPython example', size=(1000,800))
        self.browser = cefpython.CreateBrowser(self.GetHandle(), browserSettings={}, navigateURL="http://google.com")        

class MyApp(wx.App):
    timer = None
    timerID = 1

    def OnInit(self):
        sys.excepthook = cefpython.ExceptHook

        self.timer = wx.Timer(self, self.timerID)
        self.timer.Start(10) # 10ms
        wx.EVT_TIMER(self, self.timerID, self.OnTimer)

        frame = MainFrame()

        return True

    def OnTimer(self, event):


app = MyApp()

How in this code to automate data entry into the search box?

This code opens a page Google, I need to insert any word in the search box automatically

I dont know wx and dont know how to fill searchbox :D but for searching a word or words u can add queries to google address:

query = 'what is Python'
search_google = 'www.google.com/search?q=%s'%query
This article has been dead for over six months. Start a new discussion instead.