A little wrong in the official document
Created originally on Bitbucket by gongkangjia
In the document in the sample code, using a mixture of python2 and python3 The use of get_sheet_names () instead of wb.sheetnames, this is not recommended. the url is https://openpyxl.readthedocs.io/en/stable/tutorial.html, I think the document is time to update.