复制代码 代码如下:# coding:utf-8 import os import sys def cut_and_paste_file(source, destination): ”’ source: file path 中文 destination: directory path ”’ def format_path(path): if not os.path.isabs(path): path = os.path.join(os.getcwd(), path) return p