KIOutils.py 文件源码

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

项目:kumodocs 作者: kumofx 项目源码 文件源码
def choose_file_dialog(**options):
    """ Creates an open file dialog to choose a file, and returns a handle to that file """
    root = Tk.Tk()
    root.geometry('0x0+400+400')
    root.wait_visibility()
    root.wm_attributes('-alpha', 0.0)
    root.lift()
    root.focus_force()
    chosen_files = tkFileDialog.askopenfile(**options)
    root.destroy()
    return chosen_files
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号