PDA

View Full Version : Observation of PyQt and execution of some commands



hf
19th June 2008, 18:53
Hi:

I've noticed while debugging PyQt apps, that commands like 'print' won't execute until after the gui is closed. Why is this? Is there any way to get print statements to execute while the gui is running?:confused:

I've also noticed the same thing inserting data into an sqlite db. The inserts work just fine, this can be verified by externally doing a select on the db, but the changes aren't reflected until after restarting the app.

Any thoughts are greatly apreciated.

Regards,
hf :cool:

jacek
26th June 2008, 00:08
Have you tried printing to stderr?