Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyqt open file dialog

def open_file(self):
	def open(self):
        path = QFileDialog.getOpenFileName(self, 'Open a file', '',
                                        'All Files (*.*)')
        if path != ('', ''):
            print(path[0])
 
PREVIOUS NEXT
Tagged: #pyqt #open #file #dialog
ADD COMMENT
Topic
Name
2+7 =