CSSG-Labs / CSSG-Labs/PyNote

filedialog file vs filename

オープン
#21 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。