how to change the name of a python file code code example Example: python rename file import os os.rename('guru99.txt','career.guru99.txt')