Answers for "qfiledialog python save"

0

qfiledialog python save

def file_save(self):
        name = QtGui.QFileDialog.getSaveFileName(self, 'Save File')
        file = open(name,'w')
        text = self.textEdit.toPlainText()
        file.write(text)
        file.close()
Posted by: Guest on November-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language