# don't show QPaint errors when some unrelated exception occurs # dunno if other errors might get filtered this way too though ... python montypc.py 2>&1 | grep -v QPaint