Skip to content

Instantly share code, notes, and snippets.

@KatagiriSo
Created October 22, 2020 11:33
Show Gist options
  • Save KatagiriSo/7cbbc54b77fd993d3ea645b5a3667ab7 to your computer and use it in GitHub Desktop.
Save KatagiriSo/7cbbc54b77fd993d3ea645b5a3667ab7 to your computer and use it in GitHub Desktop.
ファイル名変更
import os
path = "./hogehoge.txt"
distpath = "./hogehoge2.txt"
os.rename(path, distpath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment