In this code, I am trying to select a directory. I used fname = QFileDialog.getOpenFileName(self, "Open file", "/path/") but it was fetching the
fname = QFileDialog.getOpenFileName(self, "Open file", "/path/")