I am new to python ubuntu I am learning , I am doing a small project where I have to select multiple folders in the directory using GUI and print the selected folders. I almost finish other task this is last task which is pending.
Example :
Directory A :
Folder 1;
Folder 2;
Folder 3;
Folder 4;
I like to select only (Folder 1 ; Folder 3; )
And print those names and with path
I got Select Mutiple folder using Pyqt5 But its Pyt5
, I like to work with tkinter
or other module.
from tkinter import filedialog
dirselect = filedialog.Directory()
dirs = []
while True:
d = dirselect.show()
if not d: break
dirs.append(d)