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
  • @johannesvanderwhales@lemmy.world
    link
    fedilink
    25•1 year ago

    Remove seems like a terrible name for that method.

    • @SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      16•1 year ago

      While yes, the true issue here is that, for some reason, the code only imports the remove method from the package, instead of importing the package and doing rembg.remove().

      • @trashgirlfriend@lemmy.world
        link
        fedilink
        3•1 year ago

        if you only wanted to import remove you could maybe import as rembg_remove

        unless there’s some weird taboo against doing that I don’t know about, I’m an awful programmer tbh

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.
  • 216 users / day
  • 1.04K users / week
  • 3.17K users / month
  • 9.51K 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