"""Create multiple windows.""" import webview def third_window(): # Create a new window after the loop started 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)