O Level Papers!
rename is a method (not an attribute) used to rename a file. Attributes like mode, closed, and softspace give information about the file object.