• CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      7 months ago

      Because this example isn’t really programming, it’s just calling an existing library. Which is the big joke about Python.

    • Lupec@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      My best guess is it’s a play at the usual “all you do in python is import libraries without knowing how they work lololol” dig but yeah, I don’t find it particularly funny either

  • adr1an@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    This is exactly why we love Python (and other languages with rich package ecosystem, even when only on their niche usage cases). You can build upon other people’s knowledge and effort to do cool things efficiently and effectively!

  • qx128@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Hahaha now code-golf it. One line FTW!

    remove(Image.open(‘cl.jpeg’)).save(‘output.png’)