CSSG-Labs / CSSG-Labs/PyNote

filedialog file vs filename

Đang mở
#21 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
Python
Star
3
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.