CSSG-Labs / CSSG-Labs/PyNote

filedialog file vs filename

未关闭
#21 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
Python
星标
3
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

So far we have been using the `tkinter.filedialog.askopenfilename` and `tkinter.filedialog.asksaveasfilename` functions to obtain the location of the files to be opened and saved. Should we instead use the `tkinter.filedialog.askopenfile(mode='r', **options)` and `tkinter.filedialog.asksaveasfile(mode='w', **options)` to return the file objects instead? Would this allow us to reduce the amount of code in that we would separately not have to open the files?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。