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

  • IHeartBadCode@kbin.social
    link
    fedilink
    arrow-up
    38
    ·
    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.

    • abhibeckert@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      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.

    • OmnipotentEntity@beehaw.org
      link
      fedilink
      arrow-up
      23
      ·
      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.

    • i_love_FFT@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

  • Kekzkrieger@feddit.de
    link
    fedilink
    English
    arrow-up
    10
    ·
    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

    • TehPers@beehaw.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      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.

      • coyotino [he/him]@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        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
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 year ago

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

  • Irina@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    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.