70
submitted 1 year ago by MariaRomanov to c/programming@beehaw.org

My wife didn't understand why I got so excited reading this article.

all 27 comments
sorted by: hot top controversial new old
[-] IHeartBadCode@kbin.social 47 points 1 year ago

Correction. Excel DOES NOT HAVE PYTHON. Your python is sent to Microsoft's cloud instance of Python and the result there is sent back to your Excel sheet. No actual python is being executed on your machine.

[-] JackbyDev@programming.dev 4 points 1 year ago

So it's sending it up to the big snake in the sky?

[-] Sigmatics@lemmy.ca 1 points 1 year ago

Nobody said that Excel has Python

[-] throws_lemy@lemmy.nz 27 points 1 year ago

Yeah, on their cloud. LoL

[-] AnomalousBit@programming.dev 25 points 1 year ago

Or you know, use a non-proprietary format like CSV and analyze your data in any language you damn well please.

[-] abhibeckert@beehaw.org 3 points 1 year ago

Excel can't import a CSV file reliably though - and neither can any other spreadsheet software I've ever tested. They have problems with dates, numeric values, etc.

The only reliable way to work with CSV is in a programming language of your choice or a plain text editor.

[-] AnomalousBit@programming.dev 1 points 1 year ago

I've never had any issue and have used CSV for years from hundreds of sources. I prefer the "what you see is what you get" and not Excel's "helpful" guessing at dates.

Excel can't even get it's own shit right when it's in XLSX:

https://www.theverge.com/2020/8/6/21355674/human-genes-rename-microsoft-excel-misreading-dates

[-] Kekzkrieger@feddit.de 18 points 1 year ago

An important detail is that Microsoft executes your code in their cloud, which for privacy reasons alone is extremely questionable.

So it wont work if you are ever offline or have internet problems etc.

Terrible Design

[-] sunbeam60@lemmy.one 3 points 1 year ago

There’s no way I’ll ever use this, mostly because good luck trying to open that spreadsheet later.

[-] KickMeElmo@sopuli.xyz 15 points 1 year ago

Didn't LibreOffice Calc have this like... a decade ago?

[-] i_love_FFT@lemmy.ml 1 points 1 year ago

There's also xlwings. The free tier does just that: run python code in Excel, and no cloud is required!

[-] TheHobbyist@lemmy.zip 15 points 1 year ago

I read somewhere that this required connecting to Microsoft's cloud? Is that true?

[-] OmnipotentEntity@beehaw.org 25 points 1 year ago

It is. So not really that great, imo. Just another rent seeking behavior to force a current subscription.

Don't get me wrong, I'm certain it scratches an itch many people have, just the fact they put it in the cloud is a hell of a lot of needless complexity and antiuser.

[-] DavyJones@lemmy.dbzer0.com 8 points 1 year ago

LibreOffice already had JS

[-] Hirom@beehaw.org 9 points 1 year ago
[-] irasponsible@beehaw.org 3 points 1 year ago

Forgive me if I'm wrong, but isn't that something entirely different? This is python in a cell of a spreadsheet, which could be really good, but what you linked seems to be for macros, same as excel's VBA

[-] Hirom@beehaw.org 1 points 1 year ago

Good point, that's another difference between the two. Although you can probably achieve the same result with both.

Not depending on the cloud processing your data is more important in my opinion.

[-] irasponsible@beehaw.org 1 points 1 year ago

Python in a spreadsheet would be so helpful, abstracting it out to macros less so. Better than making them in VBA I'm sure, but still not the same thing.

I'm very basic, more thinking about stuff like using Python f-strings and string formatting vs excels formatting.

[-] theangriestbird@beehaw.org 6 points 1 year ago

goddamn now i gotta learn python to stay ahead in my office job? shit...

[-] TehPers@beehaw.org 6 points 1 year ago

Do you need to? I feel like learning Python wouldn't give much benefit here, unless you're already using Excel to create applications. In that case, learning Python might let you start making applications that better suit your needs.

[-] theangriestbird@beehaw.org 3 points 1 year ago

Nah I was kind of joking. I do feel like understanding Excel really well has helped me stay ahead of my coworkers, but obviously people who can't figure out Excel won't be figuring out python anytime soon.

[-] MooMix@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

Learning python could be handy if you ever wanted a career change into a software developer :)

[-] thingsiplay@kbin.social 3 points 1 year ago

@MariaRomanov Finally Excel becomes useful.

[-] irasponsible@beehaw.org 2 points 1 year ago

That would make some things so much easier, imagine using python string formatting instead of excel CONCAT and '&'... but it's running on the cloud, so going to be slow and fundamentally useless.

[-] Lysergid@lemmy.ml 1 points 1 year ago

Good I’m staying away from both

this post was submitted on 23 Aug 2023
70 points (100.0% liked)

Programming

13360 readers
13 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS