def knn_set_output_folder(self): path, k = QFileDialog.getSaveFileName(None, "Save Output", "", ".csv") self.ui.knnOutputLineEdit.setText(path + k)