Live data from Hacker News

My thoughts on Python in Excel

xlwings.org

41–50 of 123 posts

Re: My thoughts on Python in Excel

#41
Some alternate ideas:

- make a python library/driver for Excel sheets that imitates Pandas Dataframe API but (a) has reactive cells (b) imports equations from Excel

- make a notebook IDE that integrates excel spreadsheets. Make everything reactive. Have a split notebook/spreadsheet view.

A little off-topic but it would be rad if Excel had more Airtable/Baserow/Grist features.

Re: My thoughts on Python in Excel

#42
post #10

I agree with xlwings about this but for different reasons. MS are a company wot makes money. Python was added to Excel cos R and Python and so on - market share. I suggest you do what my brother does and unanswer the question! He works for quite a large firm and is surrounded by quite a lot of data. He is a Windows user by routine and asked me for some help. I got Python + MS Visual Code installed and integrated for…

That workflow sounds so painful. Why not get a BI tool that can integrate directly into your data warehouse and do reporting through that?

Re: My thoughts on Python in Excel

#43

We built our spreadsheet ( https://rowzero.io ) from the ground up to integrate natively with Python. Bolting it on like Microsoft did, or as an add in like xlwings, just feels second class. To make it first class, we had to solve three hard problems: 1. Sandboxing and dependencies. Python is extremely unsafe to share, so you need to sandbox execution. There's also the environment/package management problem (does the…

looks cool!

do you have a desktop app in the works?

Re: My thoughts on Python in Excel

#44
post #33
post #2

Without interacting with it myself, none of this is surprising. I have used excel in the past, and I am a long term python user. But if you asked me today what I really wanted to make my life easier and ultimately a product or business better using only excel? I would ask for lua or scheme. I don’t need a batteries included environment embedded into a spreadsheet. I just want sane syntax for common functionality whic…

>excel is too bleh >python is too blah >myLanguageOfChoice is just right. We can't all be special snowflakes, python and excel are lingua francas.

Lua is pretty uncontroversial as the embedded language of choice and is actually made specifically to be embedded and play nice with the surrounding application.

I get why they chose Python for this and it's not all that hard to embed, well the interpreter anyway, compiled modules are another story.

Re: My thoughts on Python in Excel

#45

We built our spreadsheet ( https://rowzero.io ) from the ground up to integrate natively with Python. Bolting it on like Microsoft did, or as an add in like xlwings, just feels second class. To make it first class, we had to solve three hard problems: 1. Sandboxing and dependencies. Python is extremely unsafe to share, so you need to sandbox execution. There's also the environment/package management problem (does the…

looks cool! do you have a desktop app in the works?

We have some development desktop builds working. Is it something you'd pay for?

Re: My thoughts on Python in Excel

#46
post #10

I agree with xlwings about this but for different reasons. MS are a company wot makes money. Python was added to Excel cos R and Python and so on - market share. I suggest you do what my brother does and unanswer the question! He works for quite a large firm and is surrounded by quite a lot of data. He is a Windows user by routine and asked me for some help. I got Python + MS Visual Code installed and integrated for…

[deleted]

Re: My thoughts on Python in Excel

#47
post #42
post #10

I agree with xlwings about this but for different reasons. MS are a company wot makes money. Python was added to Excel cos R and Python and so on - market share. I suggest you do what my brother does and unanswer the question! He works for quite a large firm and is surrounded by quite a lot of data. He is a Windows user by routine and asked me for some help. I got Python + MS Visual Code installed and integrated for…

That workflow sounds so painful. Why not get a BI tool that can integrate directly into your data warehouse and do reporting through that?

Because in large companies BI and data are managed by external people, and without a budget at 5, if not 6 digits, nothing happens.

If there are some self service BI, most likel self service is only by name.

Add some variants related to security, max number of licenses allowed (hilarity ensures if IT bears the cost on behalf of the business without being able to charge back), etc

Re: My thoughts on Python in Excel

#48
post #4

One should note that this comes from xlwings, a Python-in-Excel plugin with a $1,490 professional lifetime license. Excel's changes will end up eating their reason to exist.

Jetbrains still makes delightful products, even though MS had been pushing their turd of an editor onto everyone since forever...

Re: My thoughts on Python in Excel

#49

We built our spreadsheet ( https://rowzero.io ) from the ground up to integrate natively with Python. Bolting it on like Microsoft did, or as an add in like xlwings, just feels second class. To make it first class, we had to solve three hard problems: 1. Sandboxing and dependencies. Python is extremely unsafe to share, so you need to sandbox execution. There's also the environment/package management problem (does the…

Looks very cool. Will be keeping an eye on this for local network hosted and/or desktop application version. Thanks for sharing!

Re: My thoughts on Python in Excel

#50
post #31

Earlier quoted context omitted.

They could, but a lot more people already know Python than Lua.

Most Excel users (not the power users, just the 1.1 billion everyday ones, including many of the enterprise ones) don't know how to program in any language. You're coming at this with a HN mindset. "Python vs Lua" is not even on their radar. And even if it was, their criteria would be dominated by platform lockin and compatibility with other licenses (e.g. commercial SQL, Tableau, MSFT, etc.). Not by "which open-sour…

IMO you're the one coming in with an HN mindset. Python has massive mindshare even among people who have never programmed. It is the numeric computing language du jour. In any given financial company there are definitely already python users. Lua, a language primarily known for plugin scripting, with no numeric computing libraries, that has zero mindshare among non career programmers, is not even in the conversation.
Post reply on HN