投稿/コメントを表示します。

>current_path = path_from.replace(path_to) # base_dir ディレクトリを target_dir ディレクトリに移動

'target_dirディレクトリに移動'とありますが、正しくはリネームでしょうか?
2026/01/02 17:34