I doubt that the recipe you recomended will work at all in the case of different processes. To do this right file has to be open in shared mode (by both programs). Python does not support shared access. In the case of one program, but different threads probably this will work.
-- http://mail.python.org/mailman/listinfo/python-list