mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-12-18 08:10:17 +00:00
24 lines
312 B
Markdown
24 lines
312 B
Markdown
# File Explorer Dialog Box in Python
|
|
|
|
Open file explorer dialog box UI to select files using Python.
|
|
|
|
|
|
## 1. Using tkinter
|
|
|
|
Example using tkinter:
|
|
|
|
```
|
|
$ python select_file_tk.py
|
|
```
|
|
|
|
## 2. Using PyQt
|
|
|
|
Install [PyQt5](https://pypi.org/project/PyQt5/)
|
|
|
|
|
|
Example using PyQt5:
|
|
|
|
```
|
|
$ python select_file_pyqt.py
|
|
```
|