def col_letter_to_number(col_letter):
"""
将Excel中的列字母编号转换为数字
"""
num = 0
for letter in col_letter:
num = num * 26 +
如何将Excel的列的字母编号转化为数字
于 2024-02-18 08:20:23 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
def col_letter_to_number(col_letter):
"""
将Excel中的列字母编号转换为数字
"""
num = 0
for letter in col_letter:
num = num * 26 +