File Dialog Boxes With QFileDialog - PyQt5 GUI Thursdays #29
32 هزار بار بازدید -
3 سال پیش
-
In this video I'll show
In this video I'll show you how to get a file location using a File Dialog Box using the QFileDialog widget.
the QFileDialog widget makes it super easy to get the location of anyfilename quickly and easily.
It returns a tuple with two items, and then we can just grab the zero'ith item of the tuple to get the file location.
#pyqt5 #codemy #JohnElder
Timecodes
0:00 - Introduction
0:47 - Create GUI With PyQT5 Designer
1:56 - Import Widgets To Python File
3:15 - Click The Button Function
4:14 - Open FileDialog Box
6:52 - Output Filename To Screen
8:57 - Grab Filename From Tuple
9:51 - FileDialog Box Title
10:26 - Change Default Directory
11:30 - Conclusion
the QFileDialog widget makes it super easy to get the location of anyfilename quickly and easily.
It returns a tuple with two items, and then we can just grab the zero'ith item of the tuple to get the file location.
#pyqt5 #codemy #JohnElder
Timecodes
0:00 - Introduction
0:47 - Create GUI With PyQT5 Designer
1:56 - Import Widgets To Python File
3:15 - Click The Button Function
4:14 - Open FileDialog Box
6:52 - Output Filename To Screen
8:57 - Grab Filename From Tuple
9:51 - FileDialog Box Title
10:26 - Change Default Directory
11:30 - Conclusion
3 سال پیش
در تاریخ 1400/06/18 منتشر شده
است.
32,047
بـار بازدید شده