How to use QFileDialog (File Dialog) in PyQt5

preview_player
Показать описание
In this PyQt5 tutorial, we are going to learn how to use different types of dialogs PyQt5 has to offer.

This is a pretty important topic when it comes to app building as dialog is one of the widely used widget to interact with users. The QFileDialog widget enables a user to to select one or more files or a directory.

In this video you will learn
1. Use a dialog widget to select a file.
2. Use a dialog widget to select multiple files.
3. Use a dialog widget to select a folder.
4. Use a dialog widget to save a file name.

Buy Me a Coffee? Your support is much appreciated!
----------------------------------------------------------------------------------------------------------------
Venmo: @Jie-Jenn

Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------

#PyQt5 #PythonGUI
Рекомендации по теме
Комментарии
Автор

Finally someone who explain how the code works!! Excelent video!!!

Anthigonna
Автор

Thanks man! You're the only one who actually help me to understand how to use QFileDialog :D

MGL
Автор

Love you man, everything works like a charm!

grancix
Автор

Awesome! Thanks for making this video! Very instructive!

salarghaffarian
Автор

Thank you - an easy to understand explanation.

jackaubrey
Автор

Thanks Jie .
It's very helpful. Thanks for your valuable time to prepare this video.
can you please add one video on how to use QT documentation .That will ve very helpful ...
Thanks Once agian :)

balasubramani
Автор

Thank you for sharing! It's really hard for me to read the docs.

王冠信-oc
Автор

Could you explain how to further customize the textinteractionflags for QLabel? I am trying to edit the custom context menu provided.

alwaysgood
Автор

Hello,
Thank you for this tutorial. I have a question, when I close the OpenFile page with the cross or by pressing cancel, I get an error message, how can I please just stay on the initial page?
FileNotFoundError: [Errno 2] No such file or directory: ''
Thank you

ThisIsFuRia
Автор

Ok, but how to extract ONLY file name without path?

adamfatyga
visit shbcf.ru