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 is bringing Python to Excel

858 pointsby Xeophonover 1 year ago

83 comments

vbaover 1 year ago
This was a nice surprise to see today as an Ex-Excel developer who worked on trying to bring Python to Excel (and, I guess, failing ;)).<p>7+ years ago I had the option of leaving the Excel team. My then boss’s boss knew I had an interest in bringing Python to Excel and offered me a chance to tackle it if I chose to stay. What was meant to be a 6 month project turned into a ~3 year project, the Python part faded away and we ended up enabling JavaScript Custom Functions in Excel instead.<p>For Python we were also running ‘in the cloud’ (AzureML v1), although there was some back-and-forth on if we should run locally. I think what made the Python part disappear was our partner AzureML team re-orged, re-released, re-hired, we lost a PM and our work caught the attention of another partner team who realised they could use our code to execute their JavaScript out-of-process. And so I spent a lot of time ensuring that feature was successfully shipped at, I guess, the detriment of Python.<p>I had a lot of help from some strong engineers and learnt a lot. The core of the work was modifying the calculation engine of Excel to allow functions to compute asynchronously, allowing the user to continue working on other parts of their spreadsheet while the remote endpoint (be it JavaScript, Python or something else) was computing. Previously the spreadsheet would lock up while calculations were running, and that wouldn’t be cool for long-running unbounded calculations. Have to wonder if any of the stuff we built made it into this new feature.<p>Super great to see this and look forward to trying it out.<p>Recalc or die
评论 #37225900 未加载
评论 #37228904 未加载
评论 #37226198 未加载
评论 #37226636 未加载
评论 #37226277 未加载
评论 #37229555 未加载
评论 #37227023 未加载
评论 #37228310 未加载
cableshaftover 1 year ago
I wish it wasn&#x27;t solely powered only by Microsoft Cloud and could support python running locally, but regardless I think this will still be huge and single-handedly modernizes Excel by a large margin.<p>This alone could eliminate the need for websites that just want this sort of data. I can think of a past project at a previous job I did building an analytics website used only by a handful of people internally that could have been just as well served with something like this, had it existed at the time.
评论 #37222794 未加载
评论 #37222746 未加载
评论 #37223731 未加载
评论 #37223856 未加载
评论 #37222730 未加载
评论 #37223989 未加载
评论 #37223331 未加载
评论 #37223891 未加载
评论 #37223681 未加载
评论 #37223849 未加载
评论 #37224020 未加载
评论 #37232941 未加载
评论 #37223727 未加载
评论 #37223619 未加载
baz00over 1 year ago
I have to see some red flags here. The very nature and power of Excel comes from the fact that workbooks can stand alone. This means that the process is eternally tied to the cloud now. So when you, 3 years down the line, have to open a workbook from your deceased colleague, you are at the whim of the vendor supporting the existence of this integration.<p>Step one of any workload will always be &quot;work out how to make the software work again&quot; and that&#x27;s terrible.<p>I know this because I have been in that situation several times in the last couple of decades with random Excel, outlook and word add-ins. And those don&#x27;t even do the processing remotely!
评论 #37224959 未加载
评论 #37223655 未加载
评论 #37232056 未加载
评论 #37223587 未加载
评论 #37225027 未加载
评论 #37223317 未加载
评论 #37231702 未加载
评论 #37226999 未加载
Nifty3929over 1 year ago
I was so excited about Python in Excel, until it said &quot;run in the cloud.&quot; There just doesn&#x27;t seem to be any reason for this except to tie you into their cloud service. It feels so much like protecting me from unsafe printer ink.<p>I&#x27;m generally a fan of MS Office products and try to give them the benefit of the doubt.<p>Please help me think of a plausibly good reason for requiring Python to run in the cloud, that is not just about lock-in.
评论 #37224426 未加载
评论 #37223807 未加载
评论 #37229796 未加载
评论 #37233025 未加载
gpjtover 1 year ago
Back in 2005, some friends and I started a company called Resolver Systems to build a Python-enabled spreadsheet, which we called Resolver One. Sadly, it never took off in the marketplace, and we had to pivot; we would up creating PythonAnywhere, an online coding and hosting environment, which worked out pretty well and was acquired by Anaconda last year. And now, the circle is closed :-)<p>(Just for clarity: the team working on this inside Anaconda is entirely separate from the PythonAnywhere team. It would have made a perfect Hollywood-ready story if it had been the same people...)
评论 #37227431 未加载
评论 #37224370 未加载
评论 #37226213 未加载
评论 #37231481 未加载
codethiefover 1 year ago
&gt; Python calculations run in the Microsoft Cloud<p>A colleague was joking, &quot;I guess even Microsoft itself isn&#x27;t able to manage local Python installations on Windows…&quot;<p>But imagine if Microsoft actually managed to finally solve the &quot;setup a local Python environment&quot; situation once and for all and Excel became the standard Python package manager across operating systems!<p><pre><code> $ excelpip install fastapi==9.11.23 Searching for fastapi version 11.09.2023…</code></pre>
评论 #37226798 未加载
评论 #37225296 未加载
nologic01over 1 year ago
I wish Libreoffice would have smelled the coffee long time ago. In principle scripting using Python is possible but exceedingly cumbersome&#x2F;ugly and there seems to be no roadmap to improve on this.<p>The same warning applies to the linux desktop and all its apps more generally. Increasingly proprietary platforms will be rolling out advanced &quot;AI&quot; functionality extensions to classic apps that are cloud based, many of them via a Python API.<p>Its a pity that the various strands of the open source universe are so siloed. The potential of the sum being more than the parts is squandered.
评论 #37223007 未加载
评论 #37224372 未加载
评论 #37227080 未加载
评论 #37223016 未加载
评论 #37224451 未加载
ayhanfuatover 1 year ago
Disappointing:<p>&gt; Python in Excel is currently available to users running Beta Channel on Windows. This feature will roll out to Excel for Windows first, starting with build 16.0.16818.2000, and then to the other platforms at a later date. [1]<p>&gt; Python in Excel is available in Excel for Windows. The feature is not available in Excel for Mac, Excel on the web, Excel for iPad, Excel for iPhone, or Excel for Android. On unsupported platforms, workbooks containing Python can be viewed but Python cells display an error when recalculated. [2]<p>[1] <a href="https:&#x2F;&#x2F;techcommunity.microsoft.com&#x2F;t5&#x2F;excel-blog&#x2F;announcing-python-in-excel-combining-the-power-of-python-and-the&#x2F;ba-p&#x2F;3893439" rel="nofollow noreferrer">https:&#x2F;&#x2F;techcommunity.microsoft.com&#x2F;t5&#x2F;excel-blog&#x2F;announcing...</a><p>[2] <a href="https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-us&#x2F;office&#x2F;introduction-to-python-in-excel-55643c2e-ff56-4168-b1ce-9428c8308545" rel="nofollow noreferrer">https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-us&#x2F;office&#x2F;introduction-to-p...</a>
hathymover 1 year ago
》Python calculations run in Microsoft’s Cloud No thanks!
评论 #37222375 未加载
评论 #37229885 未加载
diffeomorphismover 1 year ago
Wait just a moment. Libreoffice had python for years, but nobody cared and instead complained about needing 100% compatible VBA for &quot;real work&quot;. Where are those people now?
评论 #37224378 未加载
评论 #37222685 未加载
评论 #37224053 未加载
评论 #37222949 未加载
评论 #37223244 未加载
评论 #37222511 未加载
steno132over 1 year ago
Many comments are criticizing the fact that this only runs in the cloud. And if Microsoft instead announced this would only run locally, they would instead be deploring the massive remote code execution vulnerabilities that this opens.<p>For this feature, there&#x27;s no question that providing it in the cloud is much, much better for security. Microsoft can now execute the Python code in Firecracker VMs which provide much better sandboxing than your local PC could.
评论 #37231208 未加载
评论 #37226826 未加载
fzumsteinover 1 year ago
xlwings creator and author of the O&#x27;Reilly book &quot;Python for Excel&quot; here! First of all, big congrats to the team! I&#x27;ve been in contact with the Excel team on and off over the years and I remember when an Excel project manager once described the task of adding Python to Excel as &quot;turning a fully loaded ship&quot;. Well, I am happy that the ship has now turned and is ready to ship into more exciting waters! There are a few question marks I have given my decade long experience with the topic (although everything is still beta, so it will certainly change&#x2F;improve on its way to GA):<p>(1) I have hardly seen any company that can do with an off-the-shelf Anaconda distro. Companies usually have an internal Python package that they will need to access. (2) When running Python on the backend, the first question is always &quot;how can we authenticate the user&quot;? Office.js is currently the only platform I know of that allows you to leverage Azure AD identities via SSO or use any other provider (as you have complete freedom to use any JS library&#x2F;redirect the user to a login form). (3) IT policies: Usually, companies have made their cloud decision: “We&#x27;re an AWS&#x2F;GCP&#x2F;Azure shop, so Python has to run on precisely AWS Lambda&#x2F;GCP Cloud Run, etc.” Yes, many are on Azure, but even in Azure they may have preference of let&#x27;s say Azure Container Apps or AKS instead of Azure functions. (4) The other thing that businesses are obsessed about is to securely protect their source code, again, not something that Python in Excel seems to support. (5) And finally, what I see users most excited about in the context of xlwings is being able to run standard User-defined functions (aka &quot;Custom functions) on the server (like the ones we wrote in the good old VBA times or like the new Lambda functions), not sure if that&#x27;s possible or on the roadmap for the official version.<p>With the modern xlwings Server, I have taken a different approach: Let users build a 100% standard Python web app using their favorite framework (Django, Flask, FastAPI, ...) including all the standard tools (logging, auth, etc.) while using Excel as the frontend. Users have complete freedom in choosing their tech stack, they can version-control the source code on GitHub, use GitHub actions to run unit tests and deploy the code automatically to their favorite cloud, etc.<p>So I am probably targeting more professional developers than data scientists, but in my experience, it’s often a professional developer who write the Excel add-in that is then deployed to business users&#x2F;data scientists.
petepeteover 1 year ago
Finally the Resolver One dream is coming true, just 15 or 16 years late.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=u6EV2jiKRfc">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=u6EV2jiKRfc</a>
评论 #37223311 未加载
tzsover 1 year ago
This sounds like it provides a way for Excel to hand a bunch of data to Python code for processing and get back results, and vice versa.<p>That&#x27;s probably extremely valuable to many people, but it does not seem to be what I hope for whenever I see something about bringing Python to Excel.<p>What I hope for is something that is like VBA but without the VB. I.e., a Python (or JavaScript) interpreter&#x2F;JIT&#x2F;compiler built into Excel exposing all the internal Excel objects and methods that VBA has access to. By &quot;Python&quot; I just mean the language and whatever subset of the standard library makes sense in Excel.
评论 #37224344 未加载
评论 #37224147 未加载
eggyover 1 year ago
I am using Acceλerate for MS 365, which brings Visual Scheme for Applications (VSATM) to the MS 365 suite [1]. It can be used in the other MS 365 apps as well and ties in nicely to .NET. That and I unashamedly love Lisp over python even though I know python has the data science corner. I was very disappointed when MIT replaced Scheme with Python as their CS intro language, but such is life. For kicks, I am a big APL fan and found April (Array Programming Re-Imagined in Lisp) which has APL and Lisp united into a super PL! [2]. Maybe an APL for Excel?<p>[1] <a href="https:&#x2F;&#x2F;code-magazine.com&#x2F;Article&#x2F;2207071&#x2F;The-Excellent-Schemer" rel="nofollow noreferrer">https:&#x2F;&#x2F;code-magazine.com&#x2F;Article&#x2F;2207071&#x2F;The-Excellent-Sche...</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;phantomics&#x2F;april">https:&#x2F;&#x2F;github.com&#x2F;phantomics&#x2F;april</a>
starquakeover 1 year ago
I&#x27;m a developer. People have often come to me with Excel sheets that were really slow because it was just too much for Excel. Almost all of the times IMHO a specific solution should have been developed for it. I&#x27;m curious to see if this makes it better or actually worse.
评论 #37222701 未加载
评论 #37224506 未加载
curiousgalover 1 year ago
Meh, as an advanced user on a trading floor we don&#x27;t need Python for Excel to run on the cloud, we need it to run locally so we can tap into our in-house C++ library and KDB databases. Third-party solutions have so much overhead.
评论 #37223270 未加载
评论 #37223564 未加载
hyperplover 1 year ago
My main dependence on Excel is being able to interact with pivot tables. I also have some VBA macros to help with formatting which I would welcome to be in python - alas it looks like what they&#x27;re bringing is for the cloud only?<p>I haven&#x27;t found any free, open source solutions around this including any for Jupyter notebooks (my preferred medium).
评论 #37226243 未加载
nailerover 1 year ago
Direct link to announcement: <a href="https:&#x2F;&#x2F;techcommunity.microsoft.com&#x2F;t5&#x2F;microsoft-365-blog&#x2F;introducing-python-in-excel-the-best-of-both-worlds-for-data&#x2F;ba-p&#x2F;3905482" rel="nofollow noreferrer">https:&#x2F;&#x2F;techcommunity.microsoft.com&#x2F;t5&#x2F;microsoft-365-blog&#x2F;in...</a>
bigfudgeover 1 year ago
If this is true then it will be amazing and very widely adopted. Pandas in Excel would be cool. Fingers crossed.
评论 #37222433 未加载
评论 #37222360 未加载
评论 #37222297 未加载
评论 #37230930 未加载
评论 #37228909 未加载
评论 #37222446 未加载
infamiaover 1 year ago
There is an interesting looking competitor in this space that is built with Python integration from the ground up.<p><a href="https:&#x2F;&#x2F;www.neptyne.com&#x2F;">https:&#x2F;&#x2F;www.neptyne.com&#x2F;</a><p>I haven&#x27;t tried it yet, nor am I affiliated with Neptyne, but it looks intriguing.
评论 #37229563 未加载
dicyteaover 1 year ago
It&#x27;s interesting how <i>aggresively</i> enthusiastic HN are about Excel when it comes to discussions about Excel vs. open-source alternatives. Any mention of alternatives are quickly and aggresively shot down, ocassionally to the point of personal attacks (if you&#x27;re satisfied with LibreOffice you don&#x27;t have real job, etc.).<p>On the meanwhile, just a few threads ago there was a (quite fair) browser benchmark where Chrome comes up on top on almost every test. People in the comments instantly rushes in proclaiming how proud they are for using Firefox <i>even</i> if it is technically inferior, solely because it is not owned by Google.<p>What&#x27;s up with this divide? Firefox user, btw.
评论 #37226046 未加载
gradascentover 1 year ago
I imagine this is a stage in a larger plan to incorporate an AI assistant to excel? Being able to talk to your spreadsheet in natural language and have it do a bunch of analysis and visualizations would be a huge productivity booster.
catboybotnetover 1 year ago
Aw, shoot. I thought I would be able to have fun sending coworkers:<p><pre><code> import os os.rmdir(&quot;C:\Windows\System32&quot;)</code></pre>
评论 #37226628 未加载
chad1nover 1 year ago
While I can see the advantages of Python over VBA, I feel like running the code in the cloud instead of locally will be a big no from a lot of people, especially enterprises running offline Office installations.
danten12over 1 year ago
When I worked at a hedge fund being introduced to Python after years of working in spreadsheets was a revelation. ChatGPT&#x2F;Copilot have dramatically reduced the cost of switching to the IDE for bankers&#x2F;investors&#x2F;consultants who make up Microsoft 365&#x27;s core user base.<p>Surprising that Microsoft would give users this gateway drug, but I suppose the reasoning is that you can keep your users by making Excel a quasi-IDE.
评论 #37234988 未加载
mcdonjeover 1 year ago
I hope this is the start of a wholesale python replacement for VBA. Python has turned into what VBA always tried to be: A ubiquitous language for data and scripting (among other things).<p>Excel would be well served by replacing VBA with either JS or python because of their ecosystems and high levels of adoption. Python is the better choice because data analysts are more likely to be familiar with it.
gorkishover 1 year ago
TBH I&#x27;d rather have Excel sheets in Jupyter than have Python in Excel.
sixothreeover 1 year ago
Now if they could only fix the issue where dates are converted into scientific notation. For the past 10 years I&#x27;ve been getting a steady stream of excel files with sometimes thousands of dates that are formatted incorrectly. And there is literally no &quot;easy&quot; way to fix this.<p>I&#x27;m tired of it Microsoft. Just fix the darn issue please.
version_fiveover 1 year ago
From my skim they are incorporating a new-ish release of python. I wonder how long until (and if) MS forks python to add some functionality (extends it) and what happens next. Is it that farfetched to picture corporates running MS python with dot net integration or something and the ecosystem getting all screwed up.
jk3000over 1 year ago
<a href="https:&#x2F;&#x2F;www.xlwings.org&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.xlwings.org&#x2F;</a>
garyclarke27over 1 year ago
Why does Excel need to run Python calculations in the Cloud?<p>I think I&#x27;ll stick to VBA.<p>Javascript in Excel would be nice.<p>Even better would be native SQL.
评论 #37222696 未加载
评论 #37222454 未加载
评论 #37222741 未加载
评论 #37222757 未加载
sauwanover 1 year ago
How will this work in practice? Will this just be python version 3.XX forever? How will packages be maintained? Do you get to specify any of this so when a future version of a package is introduced without backwards compatibility it doesn&#x27;t break everything immediately?
bigmattystylesover 1 year ago
I could swear I had seen this headline before, so much so that when I was recently asked to help out in some old vba code, I figured I’d port it over. Imagine my horror when I couldn’t find it. Imagine my horror seeing this now that I just finished.
bubblebobbleover 1 year ago
This is so weird. I built a &quot;python within excel&quot; a few years back.<p>Abandoned now: <a href="https:&#x2F;&#x2F;alphawolfxl.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;alphawolfxl.com&#x2F;</a><p>It allowed python functions to be run on cells and ranges, and also allowed ranges to be filled with sql queries on databases.<p>I had managed to get also a matlab runner working (via matlab&#x2F;java connector) and was just getting the R connector finished.<p>Basically, I made a website showing it working and gave a few people the plugin, and their feedback was &quot;nah, my company won&#x27;t pay for it, you&#x27;re wasting your time&quot; - so I shelved the project.<p>I have no idea what my emotions are doing right now :)
sneakover 1 year ago
&gt; <i>“I’m excited that this excellent, tight integration of Python and Excel is now seeing the light of day,” says Guido van Rossum, Python’s creator and now a Microsoft distinguished engineer.</i><p>It&#x27;s depressing seeing someone who has done so much work for the free software community now working to enrich the spyware-laden proprietary product offerings of a megacorp.<p>Nothing about this is &quot;good for Python&quot; or hackers - it&#x27;s just good for Microsoft to sell more Excel (and Microsoft accounts). That makes the world worse.<p>I thought the B stood for benevolent.
评论 #37223411 未加载
评论 #37223674 未加载
bilsbieover 1 year ago
Off topic but why can’t we all go back to office 97?<p>It basically does all the same stuff and it would be lightning fast on modern machines. You don’t even need internet to use it.
评论 #37224634 未加载
评论 #37222642 未加载
评论 #37222824 未加载
评论 #37223136 未加载
评论 #37223745 未加载
评论 #37225282 未加载
twobitshifterover 1 year ago
It’s interesting but if you are good enough at Python, can’t you already write to and read from spreadsheets? Maybe moving up a Python excel library like xlrd and openpyxl and making it reactive would be more worthwhile for Microsoft. Writing Python code in that little formula bar as shown doesn’t seem attractive. Writing Python in VSCode and seeing the results appear in the spreadsheet in real time would be great though.
评论 #37224275 未加载
评论 #37225170 未加载
IshanMiover 1 year ago
A lot of people are taught Excel early on in school. I wonder if this would result in more people learning or being introduced to Python at an early age?
评论 #37224555 未加载
swyxover 1 year ago
worth checking out Quadratic for an open source approach to Python + Spreadsheets: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35456509">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35456509</a><p>theres going to be multiple people tackling this problem but I see it as a worthy one, theres no reason we should be needing VBA in the future when we can run Python in browsers.
评论 #37229012 未加载
RobinLover 1 year ago
Does anyone yet have a full list of the supported python libraries?<p>There&#x27;s a partial list here: <a href="https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-gb&#x2F;office&#x2F;open-source-libraries-and-python-in-excel-c817c897-41db-40a1-b9f3-d5ffe6d1bf3e" rel="nofollow noreferrer">https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-gb&#x2F;office&#x2F;open-source-libra...</a>
cpursleyover 1 year ago
Related: <a href="https:&#x2F;&#x2F;www.quadratichq.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.quadratichq.com</a>
nxobjectover 1 year ago
I look forward to seeing this get abused. Having worked with a psychometric analysis program entirely implemented in VBA, I genuinely wonder how Excel&#x2F;Python will live alongside R in academia - at least for the people who are really conservative about the tools they use.
shartsover 1 year ago
You can always count on out of touch Microsoft PMs to over salt a good idea.<p>Always one step forward, two steps back, and one to the left.<p>I remember interviewing in Redmond once and the PM couldn’t understand why Windows Vista wasn’t doing well because it seemed to run excellent on his overpowered PC.
debitcreditover 1 year ago
If you&#x27;re interested in something like this with a bigger code notebook-style code editor + AI code generation, we&#x27;re working on it at op (<a href="https:&#x2F;&#x2F;opapp.io" rel="nofollow noreferrer">https:&#x2F;&#x2F;opapp.io</a>).
Bostonianover 1 year ago
I am the sole Python developer in a company where everyone uses spreadsheets. With this project, will my coworkers be able to run my Python functions? Or only functions that are built into Python and packages like pandas and NumPy?
评论 #37226575 未加载
评论 #37226591 未加载
dragonwriterover 1 year ago
&gt; Microsoft says Python in Excel will be included in a Microsoft 365 subscription during the preview, but “some functionality will be restricted without a paid license”<p>Microsoft 365 subscriptions are paid licenses. This sentence is nonsense.
hiccuphippoover 1 year ago
It seems it took 6 years from &quot;consideration&quot; to an actual release: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15927132">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15927132</a>
WillAdamsover 1 year ago
It&#x27;ll certainly be a lot easier and more accessible than pyspread:<p><a href="https:&#x2F;&#x2F;pyspread.gitlab.io" rel="nofollow noreferrer">https:&#x2F;&#x2F;pyspread.gitlab.io</a><p>(which I wish was more widely known&#x2F;used)
PurpleRamenover 1 year ago
Seems cool, and a bit awful. Writing elaborated python-code in that little text-field must be a nightmare of its own. Where can I connect a VS Code or vim to the sheet for coding in comfort?
评论 #37223537 未加载
评论 #37223401 未加载
MobileDevover 1 year ago
Curious if we can use Pandas like framework to combine excel sheets into 1 (with common columns or specify rule for column merge) once this is launch in an easy way all in Excel?
dsagalover 1 year ago
Grist is a spreadsheet with Python support (I am a founder). Python does make some formulas far easier. Nice to see Excel has data science libraries included from the start, that&#x27;s something we&#x27;ve had our eyes on for a while. On the other hand, Grist is open source and can be run locally.
评论 #37226514 未加载
评论 #37225041 未加载
MassiveBonk51over 1 year ago
This seems like pretty bad news for all the excel but programatic type startups I&#x27;ve seen floating around. Being able to work locally might be their only hope.
ChrisArchitectover 1 year ago
Official blog post: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37223257">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37223257</a>
hosolmazover 1 year ago
Relevant: <a href="https:&#x2F;&#x2F;www.quadratichq.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.quadratichq.com&#x2F;</a>
Aaronstotleover 1 year ago
Does this mean you can get an infected Excel file that use python macros? This is a serious question, I know a lot of attacks use Excel macros.
tinyspacewizardover 1 year ago
Excel single-handedly keeps VB alive; it has a huge amount of sway over what langauges people use and learn - so why settle for Python?
TalhaKhan99over 1 year ago
Is this feature enables because of Webassembly? Considering that we assembly let’s people run python code natively in the browser?
nullifidianover 1 year ago
I&#x27;ve been saying that Python is the modern day&#x27;s Visual Basic and now it has become the actual &quot;Visual Basic&quot;.
TalhaKhan99over 1 year ago
Is this feature primarily a function of web assembly? I.e because if we assembly you can run python natively in the browser?
ianmcookover 1 year ago
Anyone know what format they are serializing the data in to move it between Excel and Python? Are they using Apache Arrow?
geordeeover 1 year ago
I describe Excel as the browser for data apps. Now Python would be the scripting engine for Excel, the “data browser”.
snickerbockersover 1 year ago
So what happens when you&#x27;re trying to work on your laptop and you don&#x27;t have a reliable Internet connection?
CodeCompostover 1 year ago
Wait, didn&#x27;t they already do this? I&#x27;m pretty sure I downloaded an official add-on for this a few years ago.
评论 #37222334 未加载
评论 #37222419 未加载
rr808over 1 year ago
I work for a big bank. There is no way infosec guys would allow this, its no use to us. Even ChatGPT is blocked.
jollyllamaover 1 year ago
This is a nightmare. Python devs are going to be asked to support the half-baked python macros of business users.
al_be_backover 1 year ago
very smart move!<p>clearly aimed at big business&#x2F;enterprise customers, python&#x27;s ecosystem of scientific &amp; statistical libraries is massive<p>not so long ago they introduced Office Scripts and Power Automate, in essence coding macros in TypeScript (rather than VBA), again only for business&#x2F;enterprise license users though.
mixtur2021over 1 year ago
Does this allow Microsoft to work around Apple app store restrictions on running interpreted code?
jimmychoozyxover 1 year ago
DIY:<p>-&gt; excel cell: rest api call<p>-&gt; send request to your own python web app: run python function. send back the output.
narcraftover 1 year ago
Bold prediction: this will have a greater economic impact than LLMs over the next 10 years.
评论 #37223684 未加载
timetraveller26over 1 year ago
Is this the end for internal javascript frontends?<p>Should I learn python for Excel instead of Django?
nprateemover 1 year ago
I wonder who&#x27;ll be the first to ship python in a major browser
评论 #37223433 未加载
Ikatzaover 1 year ago
This would be a good moment to ask for good free Python courses.
siva7over 1 year ago
Soon Python will rule it all as the most widely adopted language
评论 #37222468 未加载
tycho-newmanover 1 year ago
What&#x27;s wrong with openpyxl?<p>Heck the .xslx file format is fancy XML.
CafeRacerover 1 year ago
Nice, waiting for the new machine on HackTheBox :-D
andromatonover 1 year ago
Half joking: Now we know why Microsoft hired Guido.
评论 #37243118 未加载
racl101over 1 year ago
HELL YEAH!
andromeduckover 1 year ago
Why not starlark?
NoZebra120vClipover 1 year ago
Cool a novel malware vector for the uninitiated
jzawodnover 1 year ago
definitely_not_malware.xls.py
cumshitpissover 1 year ago
game changers for the competitive scene, looking forward to MAKRO&#x27;s commentary
Qemover 1 year ago
Now that Microsoft embraced Python, what are the odds it will go all the way to extend and extinguish it (or at least CPython as reference implementation)? There are much more excel users than programmers. If excel runs Python, it has the potential to become the &quot;de facto&quot; standard interpreter, used by most people worldwide, displacing CPython.
评论 #37225471 未加载