os.rename("/path/to/old/file", "/path/to/new/file")