How to open a excel from python code example
Example 1: open excel through python
import os
from pathlib import Path
# opening EXCEL through Code
#local path in dir
absolutePath = Path('../excel.xlsx').resolve()
os.system(f'start excel.exe "{absolutePath}"')
Example 2: read a function of excel in python
wb = load_workbook('file.xlsx', data_only=True)