rename folders python code example
Example 1: python rename file
import os
os.rename('guru99.txt','career.guru99.txt')
Example 2: os.rename
os.rename(src, dst)
import os
os.rename('guru99.txt','career.guru99.txt')
os.rename(src, dst)