In using os.symlink(file1,file2) if file2 already exists, it results in an os.error. Is there a function for overwriting an existing file, or do I have to use os.system('ln -sf ' + file1 + ' ' + file2)