import shutil

shutil.move(file_path_name, move_file_path_name)
# shutil.make_archive('[압축할 파일명]', '[확장자]', '[압축할 폴더]')
shutil.make_archive('data', 'zip', './data')
# ./data 폴더를 data.zip 이라는 이름으로 압축.

Reference