What causes “UserWarning: Discarded range with reserved name” - openpyxl

后端 未结 3 1733
[愿得一人]
[愿得一人] 2021-02-12 23:26

I have a simple EXCEL-sheet with names of cities in column A and I want to extract them and put them in a list:

def getCityfromEXCEL():
    wb = load_workbook(fi         


        
3条回答
  •  耶瑟儿~
    2021-02-12 23:41

    If you want to ignore it:

    import warnings
    warnings.simplefilter("ignore")
    wb = load_workbook(path)
    warnings.simplefilter("default")
    

提交回复
热议问题