Qt Pyside displaying results in widgets <p>I am going through a lot of data in a loop, and updating status into a textedit widget on my mainwindow. The thing is, the textedit widget only gets update, after all my data in the loop is processed. I want to display it in the textedit widget as its processing.</p> <pre><code>for i in data: ... textedit.settext(i) &lt;&lt;---- this part is not updated "fast" enough to textedit widget .. </code></pre> <p>what can i do about this? Do i have to look in the direction of some form of multithreading? thanks</p> <p>Update: Actually the whole scenario is i am doing some file operations, going through directories, connecting to databases, selecting stuff and then displaying to GUI. While my code runs in the background, i would also like to display results found to the QT textedit widget in "realtime". Right now, my widget shows the result after my file operations are done. And the GUI "hangs" while the file operations are being done. thanks</p>