I have types-openpyxl
installed.
I load a workbook in read-only mode, and then access a worksheet from it:
import openpyxl as xl
excel_file = Path("./xl.xlsx")
wb: xl.Workbook = xl.load_workbook(excel_file, read_only=True, data_only=True, keep_links=False)
ws = wb["hello world"]
How do I type annotate ws
?