def moveFile(srcFile, destFile):
 try:
  ek(shutil.move, srcFile, destFile)
  fixSetGroupID(destFile)
 except OSError:
  copyFile(srcFile, destFile)
  ek(os.unlink, srcFile)

def moveFile ( srcFile , destFile ) : try : ek ( shutil . move , srcFile , destFile ) fixSetGroupID ( destFile ) except OSError : copyFile ( srcFile , destFile ) ek ( os . unlink , srcFile )
move a file from source to destination .