Rename a file using Python pathlib module
from pathlib import Path
path = Path("target file")
target = path.with_name(path.name.replace("08",'09'))
path.rename(target)
# Python program to display calendar of given month of the year # importing calendar module for calendar operations import calendar # set t...
沒有留言:
張貼留言