Karl Pflästerer schrieb: >That function works but you could improve it a bit. >First: don't import modules in functions. That may lead to dead locks. > > > How that? Could you please explain this. Gregor