def create_symlink(src, dest):
 os.symlink(src, dest)
 atexit.register(delete_symlink, dest)

def create_symlink ( src , dest ) : os . symlink ( src , dest ) atexit . register ( delete_symlink , dest )
creates a symbolic link which will be deleted when the process ends .