mirror of https://github.com/FanbeiFan/JD-SHOPPER
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
727 B
23 lines
727 B
|
|
|
|
from Config.settings import config |
|
|
|
PROJECT = config.settings("Information", "PROJECT") |
|
SERVER_HOST = config.settings("Server", "SERVER_HOST") |
|
PORT = config.settings("Server", "PORT") |
|
|
|
def gui(): |
|
url = "http://{}:{}/".format(SERVER_HOST, PORT) |
|
|
|
# import webview |
|
# webview.create_window(PROJECT, |
|
# url=url, |
|
# js_api=None, |
|
# width=900, |
|
# height=800, |
|
# resizable=True, |
|
# fullscreen=False, |
|
# min_size=(200, 200), |
|
# background_color='#FFF', |
|
# text_select=False) |
|
# webview.start()
|
|
|