CSSG-Labs / CSSG-Labs/PyNote

filedialog file vs filename

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.