The Wolf's Den
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

Python tutorial moment

lemmy.world

message-square
56
fedilink
425

Python tutorial moment

lemmy.world

devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
56
fedilink
  • qx128@lemmy.world
    link
    fedilink
    arrow-up
    59
    arrow-down
    1
    ·
    1 year ago

    Hahaha now code-golf it. One line FTW!

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

    • Tangent5280@lemmy.world
      link
      fedilink
      arrow-up
      60
      arrow-down
      2
      ·
      1 year ago

      If I find this in production I’m whipping your ballsack till you change it back.

      • Jumuta@sh.itjust.works
        link
        fedilink
        arrow-up
        19
        ·
        1 year ago

        import(“rembg”).remove(import(“PIL”).Image.open(‘cl.jpeg’)).save(‘output.png’)

      • _edge@discuss.tchncs.de
        link
        fedilink
        arrow-up
        15
        ·
        1 year ago

        Can i hire you?

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

        So I’m not going to change it

    • madcaesar@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Code golf! I just learned something new 😂

      • sexual_tomato@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        https://codegolf.stackexchange.com/

        Enjoy a new rabbit hole to dive down

      • silly goose meekah@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        1 year ago

        You never heard of code Golf before? It’s usually programming challenges where the goal is to use the smallest number of source code characters possible.

        • Soulg@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I haven’t either but I like it.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 82 users / day
  • 533 users / week
  • 2.6K users / month
  • 8.76K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.64K Posts
  • 29K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org