import os old_file_name = "/home/career_karma/raw_data.csv" new_file_name = "/home/career_karma/old_data.csv" os.rename(old_file_name, new_file_name) print("File renamed!")