import webview import threading """ This example demonstrates how to create and manage multiple windows """ def third_window(): # Create a new window after the loop started third_window = webview.create_window('Window #3', html='

Third Window

') if __name__ == '__main__': # Master window master_window = webview.create_window('Window #1', html='

First window

') second_window = webview.create_window('Window #2', html='

Second window

') webview.start(third_window)