federate.cc
  • Communities
  • Create Post
  • Create Community
  • 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
423

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
    57•1 year ago

    Hahaha now code-golf it. One line FTW!

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

    • @Tangent5280@lemmy.world
      link
      fedilink
      58•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
        19•1 year ago

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

      • @_edge@discuss.tchncs.de
        link
        fedilink
        15•1 year ago

        Can i hire you?

      • @hackris@lemmy.ml
        link
        fedilink
        9•1 year ago

        So I’m not going to change it

    • @madcaesar@lemmy.world
      link
      fedilink
      5•1 year ago

      Code golf! I just learned something new 😂

      • @sexual_tomato@lemmy.dbzer0.com
        link
        fedilink
        10•1 year ago

        https://codegolf.stackexchange.com/

        Enjoy a new rabbit hole to dive down

      • silly goose meekah
        link
        fedilink
        2•
        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
          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: !programmerhumor@lemmy.ml

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.
  • 256 users / day
  • 1.1K users / week
  • 3.2K users / month
  • 9.5K users / 6 months
  • 37K subscribers
  • 1.77K Posts
  • 35.6K Comments
  • Modlog
  • mods:
  • @cat_programmer@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org