import os import shutil os.rename("path/to/current/file.foo", ... After Python 3.4, you can also use pathlib 's class Path to move file.
確定! 回上一頁