I found this code at Stack Overflow:
input_filename = "to_modify.xlsx"
wb = load_workbook(input_filename)
# Get first sheet
sh: worksheet = wb[wb.sheetnames[0]]
The link is here: How to change font size in Python OpenPyXL
So, I tried in a simplified way as:
str = [1, 2, 3, 4]
bo: fo = str[str[0]]
And it gave me the error message: TypeError: 'type' object is not subscriptable
What is the idea here? Why I need this : character?