pyxll

Automation Excel from Python

 ̄綄美尐妖づ 提交于 2019-12-28 06:24:06
问题 In my company, we use Linux in development and production environment. But we have a machine running Windows and Excel because we use a third party application excel addin to get financial market data to the machine. The add-in provides some functions (just like Excel function) for getting these datas into the local machine and then sending back to a MySql Database. We've also developed some VBA script to automation the task but still not satisfy with the result. I'm considering using Python

Calculating Excel sheets without opening them (openpyxl or xlwt)

╄→гoц情女王★ 提交于 2019-12-13 11:48:16
问题 I made a script that opens a xls. file, writes a few new value's in it, then save the file. Later the script opens it again, and wants to find the answers in some cells which contain formulas. If I call that cell with openpyxl, I get the formula (ie: =A1*B1). And if I activate data_only, i get nothing. Is there a way to let python calculate the xls file? (or should I try PyXll?) 回答1: There is actually a project that takes Excel formulas and evaluates them using Python: Pycel. Pycel uses Excel

Calculating Excel sheets without opening them (openpyxl or xlwt)

白昼怎懂夜的黑 提交于 2019-12-03 16:02:49
I made a script that opens a xls. file, writes a few new value's in it, then save the file. Later the script opens it again, and wants to find the answers in some cells which contain formulas. If I call that cell with openpyxl, I get the formula (ie: =A1*B1). And if I activate data_only, i get nothing. Is there a way to let python calculate the xls file? (or should I try PyXll?) There is actually a project that takes Excel formulas and evaluates them using Python: Pycel . Pycel uses Excel itself (via COM) to extract the formulas, so in your case you would skip that part. The project probably

Automation Excel from Python

强颜欢笑 提交于 2019-11-27 23:09:47
In my company, we use Linux in development and production environment. But we have a machine running Windows and Excel because we use a third party application excel addin to get financial market data to the machine. The add-in provides some functions (just like Excel function) for getting these datas into the local machine and then sending back to a MySql Database. We've also developed some VBA script to automation the task but still not satisfy with the result. I'm considering using Python to do all these jobs, but before jumping in, i need to find a python package that can do Use python to