𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍBanned from community to Programmer Humor@lemmy.ml · 2 years agoPython tutorial momentimagemessage-square55linkfedilinkarrow-up1311arrow-down147
arrow-up1264arrow-down1imagePython tutorial moment𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍBanned from community to Programmer Humor@lemmy.ml · 2 years agomessage-square55linkfedilink
minus-squareSkyeStarfall@lemmy.blahaj.zonelinkfedilinkarrow-up16·2 years agoWhile 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().
minus-squaretrashgirlfriendlinkfedilinkarrow-up3·2 years agoif 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
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().
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