import openpyxl
# wb = openpyxl.Workbook()
# print(wb.get_sheet_names())

# sheet = wb.active
# print(sheet.title)

# sheet.title = 'Spam Bacon Eggs Sheet'

# print(wb.get_sheet_names())

wb = openpyxl.load_workbook('example.xlsx')

sheet = wb.active

sheet.title = 'Spam Spam Spam'

wb.save('newWorkbook version 2.xlsx')