Babloo wrote: > Any ideas how to pause execfile()? As far as the calling instance of the Python interpreter is concerned, calling execfile (or any C function) is an atomic action. You need to rewrite the code in the file executed to have it monitor a semaphore.