__init__.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:network-pj-chatroom 作者: KevinWang15 项目源码 文件源码
def run():
    root = tk.Tk()
    client.memory.tk_root = root

    try:
        client.memory.sc = establish_secure_channel_to_server()

    except ConnectionError:
        messagebox.showerror("???", "????????")
        exit(1)

    _thread.start_new_thread(client.util.socket_listener.socket_listener_thread, (client.memory.sc, root))

    login = tk.Toplevel()
    LoginForm(master=login)

    root.withdraw()
    root.mainloop()
    try:
        root.destroy()
    except tk.TclError:
        pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号