How to use QFileDialog (File Dialog) in PyQt5

  Рет қаралды 26,986

Jie Jenn

Jie Jenn

3 жыл бұрын

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.
Source Code: learndataanalysis.org/source-...
Buy Me a Coffee? Your support is much appreciated!
----------------------------------------------------------------------------------------------------------------
PayPal Me: www.paypal.me/jiejenn/5
Venmo: @Jie-Jenn
Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------
Patreon: / jiejenn
By shopping on Amazon → amzn.to/2JkGeMD
More tutorial videos on my website → LearnDataAnalysis.org
Business Inquiring: KZbin@LearnDataAnalysis.org
#PyQt5 #PythonGUI

Пікірлер: 20
@Anthigonna
@Anthigonna 2 жыл бұрын
Finally someone who explain how the code works!! Excelent video!!!
@M310GL
@M310GL 3 жыл бұрын
Thanks man! You're the only one who actually help me to understand how to use QFileDialog :D
@salarghaffarian4914
@salarghaffarian4914 2 жыл бұрын
Awesome! Thanks for making this video! Very instructive!
@user-lc5nq5id9p
@user-lc5nq5id9p 4 ай бұрын
Thanks! Really helpful 👍
@grancix
@grancix Жыл бұрын
Love you man, everything works like a charm!
@uncertawn
@uncertawn 2 жыл бұрын
Finally a good tutorial! thanks!
@physe8052
@physe8052 Жыл бұрын
Thank you! Exactly what I needed!
@jackaubrey8614
@jackaubrey8614 2 жыл бұрын
Thank you - an easy to understand explanation.
@jiejenn
@jiejenn 2 жыл бұрын
Glad the video helped.
@alwaysgood3913
@alwaysgood3913 3 жыл бұрын
Could you explain how to further customize the textinteractionflags for QLabel? I am trying to edit the custom context menu provided.
@user-fi2ty4bm2n
@user-fi2ty4bm2n 2 жыл бұрын
Thank you for sharing! It's really hard for me to read the docs.
@balasubramani9310
@balasubramani9310 2 жыл бұрын
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 :)
@jiejenn
@jiejenn 2 жыл бұрын
I will look into it.
@ventiladorbueno1846
@ventiladorbueno1846 3 жыл бұрын
🙏 thanks 🙏
@alexismotet9393
@alexismotet9393 3 жыл бұрын
thank you
@abdelrhmanhashem3256
@abdelrhmanhashem3256 2 жыл бұрын
Thank you ^_^
@jiejenn
@jiejenn 2 жыл бұрын
Glad the video helped.
@ThisIsFuRia
@ThisIsFuRia 2 жыл бұрын
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
@yusufneutron8824
@yusufneutron8824 2 жыл бұрын
thx
@adamfatyga7977
@adamfatyga7977 Жыл бұрын
Ok, but how to extract ONLY file name without path?
Browse Files Dialog with PyQt5 [use file explorer]
11:30
Code First with Hala
Рет қаралды 51 М.
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 29 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 44 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 30 МЛН
How to embed Matplotlib Graph in a PyQt5 application
6:38
Jie Jenn
Рет қаралды 51 М.
How to Get Financial Statements Using Python
18:31
Intrendias
Рет қаралды 589
Create GUI App with PyQt5 - PART 1
30:25
Python Simplified
Рет қаралды 178 М.
How to get started with Obsidian in 2022 - from scratch!
13:38
Nicole van der Hoeven
Рет қаралды 453 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
Convert Tkinter Python App to Executable (.Exe) File [pyinstaller]
9:11
Code First with Hala
Рет қаралды 140 М.
Creating PyQt Layouts for GUI Python Applications
13:56
Real Python
Рет қаралды 29 М.
How to Pass Data between Multiple Windows in Tkinter
18:19
CodersLegacy
Рет қаралды 27 М.
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 29 МЛН