def getFile(): global filename, path, path2 filename = QtWidgets.QFileDialog.getOpenFileName()[0] path = filename print(path)
I t