pieface_gui.py 文件源码

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

项目:PIEFACE 作者: jcumby 项目源码 文件源码
def main():
    if sys.platform.startswith('win'):
        # Hack for multiprocessing.freeze_support() to work from a
        # setuptools-generated entry point.
        multiprocessing.freeze_support()

    root = tk.Tk()
    root.minsize(450,380)    #width,height
    root.columnconfigure(0, weight=1)
    root.rowconfigure(0, weight=1)

    root.iconbitmap(iconloc)

    app = MainWindow(root)


    h = LoggingtoGUI(app.log.console)
    h.setLevel(logging.INFO)
    f = CritFilter()
    h.addFilter(f)
    log.addHandler(h)

    #log.addFilter(f)
    root.mainloop()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号