filedialog file vs filename
Aperta
question
- Lingua principale
- Python
- Stelle
- 3
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.