TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Microsoft Considers Adding Python as an Official Scripting Language to Excel

64 pointsby setraover 7 years ago

7 comments

ChrisSDover 7 years ago
Previous discussions:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15927132" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15927132</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15996753" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15996753</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15938873" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15938873</a>
评论 #16021692 未加载
bsilvereagleover 7 years ago
In case people aren&#x27;t aware - you can use any language with COM bindings to script Excel&#x2F;Word&#x2F;PowerPoint&#x2F;Adobe&#x2F;etc from outside the application.<p>Python has pywin32. Usually I have a python prompt and Excel open side by side and highlight cells I&#x27;d like to modify in Excel and then switch to Python to run the appropriate functions.<p>The COM API can be used interactively (attach to an existing instance or launch the GUI) or automatically (launch an Excel instance but turn off visibility).
评论 #16021819 未加载
snomadover 7 years ago
This could be one of those things that definitely grabs developers attention in a good way. I disagree it needs to be for all Office apps - if it was just Excel and Access that would be plenty.
uncle_dover 7 years ago
Always been a mystery to me, why they have never added .NET language support. 16 years and counting...
评论 #16021854 未加载
评论 #16021864 未加载
mmjaaover 7 years ago
I honestly feel that Lua would be a better fit, since the Lua table maps pretty nicely to Excel cells... but I&#x27;m sure there&#x27;s some reason that it would unsuitable?
评论 #16021805 未加载
评论 #16021812 未加载
murraybover 7 years ago
On the one hand this would definitely result in learning me some Python... on the other hand I am somewhat sorry it is not Perl.
评论 #16021837 未加载
评论 #16021739 未加载
kim0over 7 years ago
They should consider adding it to azure functions too!!
评论 #16021685 未加载