On 06/09/2010 15:29, Ian Hobson wrote: > Hi all, > Forget this. The problem is that it is a Windows Service, so it is not initialised in the normal way. PythonService.exe loads other code (named __main__) that loads the service proper, so the if test was never true! Regards Ian