Tag Archives: threading

Sleeping in loops considered harmful

NetBeans gave me an interesting code hint today: Thread.sleep called in loop.

Posted in Programming | Tagged , , | 5 Comments

Debugging wxPython programs

wxPython is a great way to write full-featured native GUI applications in Python.  It’s a wrapper for wxWidgets, a portable windowing toolkit written in C++.  (wxWidgets used to be called wxWindows, but, thanks to Microsoft’s inexcusable penchant for giving all … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Output synchronisation in Python

A simple trick to making print more atomic.

Posted in Programming | Tagged , | 1 Comment