1def open_file(self):
2 def open(self):
3 path = QFileDialog.getOpenFileName(self, 'Open a file', '',
4 'All Files (*.*)')
5 if path != ('', ''):
6 print(path[0])
1def open(self):
2 path = QFileDialog.getOpenFileName(self, 'Open a file', '',
3 'All Files (*.*)')
4 if path != ('', ''):
5 print(path[0])