I am printing some formula in one of the Excel sheets:
wsOld.cell(row = 1, column = 1).value = \"=B3=B4\"
But I cannot use its result in im
I have solved the matter using a combination of openpyxl and pandas:
import pandas as pd
import openpyxl
from openpyxl import Workbook , load_workbook
source_file = "Test.xlsx"
# write to file
wb = load_workbook (source_file)
ws = wb.active
ws.title = "hello world"
ws.append ([10,10])
wb.save(source_file)
# read from file
df = pd.read_excel(source_file)
sum_jan = df ["Jan"].sum()
print (sum_jan)