0

I was wondering, is there the possibility to show the file inside the folder with this call? just see the file, but select the folder

self.directory = QtWidgets.QFileDialog.getExistingDirectory()
self.pathField.append(self.directory)
fileList = os.listdir(self.directory)

There's a similar question, but I've already tried and it didn't work for me

screenshot

enter image description here

eyllanesc
  • 235,170
  • 19
  • 170
  • 241

0 Answers0