# # Change URL

Change URL ten seconds after the first URL is loaded.

    import webview
    import threading
    import time

    def change_url():
        # wait a few seconds before changing url:
        time.sleep(10)

        # change url:
        webview.load_url("https://pywebview.flowrl.com/hello")

    if __name__ == '__main__':
        t = threading.Thread(target=change_url)
        t.start()

        webview.create_window("URL Change Example", "http://www.google.com")

Help us improve this page!