code: def _move_tmp_file(self, tmpfilepath, filepath):
          
  
          try:
              shutil.move(tmpfilepath, filepath)
  
          except OSError, err:
              # No tmp file present
              post_command_event(self.main_window, self.StatusBarMsg, text=err)
docs: Moves tmpfile over file after saving is finished
  
          Parameters
          ----------
  
          filepath: String
          \tTarget file path for xls file
          tmpfilepath: String
          \tTemporary file file path for xls file