79267905

Date: 2024-12-10 10:43:24
Score: 1
Natty:
Report link

"...to change row 4's..."

import openpyxl
from openpyxl.styles import Font
col_range = sh.max_column  #get max columns in the worksheet
for k in range(1, col_range + 1): 
    sh.cell(row=4, column=k).font = Font(name='Arial', size=8)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28712982