8 from PyQt5
import QtWidgets
17 def get_file_path(cls, caption="Open File", filefilter="", is_app=False):
19 "Images (*.png *.xpm *.jpg);;Text files (*.txt);;XML files (*.xml)" 24 QtWidgets.QApplication(sys.argv)
26 files = QtWidgets.QFileDialog.getOpenFileNames(caption=caption, filter=filefilter)
30 file_list.append(str(file))
def get_file_path(cls, caption="Open File", filefilter="", is_app=False)