Tkinter - Open File Dialog

JobinPy
JobinPy
1.2 هزار بار بازدید - 2 سال پیش - I'll show you how to
I'll show you how to use use the open file dialog in Tkinter.
The methods we'll cover are: askopenfile(), askopenfiles(), askopenfilename(), askopenfilenames().

0:00 Intro
1:00 Starter code
2:03 Demo app
3:06 askopenfile() vs askopenfilename()
4:13 filetypes filter
5:10 Read text file
6:17 Multiple filetypes filter
7:21 Read binary file
8:14 Parent argument
9:19 Cancel open file dialog
9:56 Open multiple files
12:44 askopenfilename() and askopenfilenames() methods
14:25 My preference
15:15 Initial directory

#tkinter #pythongui #pythonguitutorial
2 سال پیش در تاریخ 1401/09/27 منتشر شده است.
1,228 بـار بازدید شده
... بیشتر