"""
rename a file or dir

rename(old, new)
"""

import os

# rename a directory
# rename mydir3 -> mydir3a

# old = 'mydir3'
# new = 'mydir3a'
#
# os.rename(old, new)


# rename a file
os.rename("rename_file.py", "rename_file_new.py")

