python openpyxl 从指定行列中搜索指定的值

Python openpyxl  从指定行列中,搜索指定的值

for row in range(4, 46):
       for column in "ABCMWX":  
           cell_name = "{}{}".format(column, row)
           print ws[cell_name].value

原吧:https://stackoverrun.com/cn/q/8013039

posted @ 2020-11-27 08:50  yongqi-911  阅读(3273)  评论(0编辑  收藏  举报