import os import webview os.system("python api.py") webview.create_window('Hello world', 'http://localhost:3000') webview.start()