<div dir="ltr">, I make a QGIS plugin to parse xml and show it as a report in TextBrowser, but when i run this plugin it didnt appear in TextBrowser and i didnt get any error message from it, this code i use to showing text in textBrowser<div>
<br></div><div><div>def info(self, inform):</div><div> fore = open(inform, 'w' ).write()</div><div> fore.write( 'Input 1 : ' + "%s" % self.ui.lineSkala.text() )</div><div> fore.write( 'Input 2 : ' + "%s" % self.ui.lineFitur.text() )</div>
<div> fore.close()</div><div><span class="" style="white-space:pre"> </span></div><div> jde = open(inform, 'r').read()</div><div> self.ui.textRangkum.setText(jde)</div></div><div><br></div><div>
what must i add/ repair? (Sorry I am a total newb)</div></div>