Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

openpyxl change sheet name

import openpyxl
ss=openpyxl.load_workbook("file.xlsx")
#printing the sheet names
ss_sheet = ss['Sheet']
ss_sheet.title = 'Fruit'
ss.save("file.xlsx")
Comment

PREVIOUS NEXT
Code Example
Python :: iterate through 2 strings python 
Python :: gspread send dataframe to sheet 
Python :: run 2 loops simultaneously python 
Python :: selenium python chrome path 
Python :: sort column with numeric and text data 
Python :: how to iterate pandas dataframe 
Python :: how to find python version 
Python :: np.concatenate 
Python :: store all files name in a folder python 
Python :: text to pandas 
Python :: multiple input in python 
Python :: for loop with zip and enumerate 
Python :: make longitude -180 to 180 
Python :: play wav files python 
Python :: force utf-8 encoding python 
Python :: virtual environment flask 
Python :: how do i create a file in specific folder in python 
Python :: list methods python 
Python :: make first row column names pandas 
Python :: how to import tkinter in python 
Python :: Socket Programming Client Side 
Python :: read csv exclude index pandas 
Python :: sample datafra,e PYTHON 
Python :: python module with alphabet list 
Python :: read pickle file python 
Python :: Find faculty of a number python 
Python :: python list all files in directory 
Python :: django rest framework simple jwt 
Python :: python way to unindent blocks of code 
Python :: how to make random colors in python turtle 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =