Thanks everybody, I overlooked the os module (dough!). I had looked in the sys module, but of course os was the right place. Best regards, Lars Alex wrote: > Check out rename, in the os module. > > Alex.