2007-12-04 ファイルのコピー Python文法 ファイルをコピーするのに、shutilモジュールを使う。 import shutil shutil.copyfile(file1, file2) これは特に問題なさそう。