𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 年前Python tutorial momentlemmy.worldimagemessage-square56linkfedilinkarrow-up1486arrow-down159
arrow-up1427arrow-down1imagePython tutorial momentlemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 年前message-square56linkfedilink
minus-squareqx128@lemmy.worldlinkfedilinkarrow-up59arrow-down1·2 年前Hahaha now code-golf it. One line FTW! remove(Image.open(‘cl.jpeg’)).save(‘output.png’)
minus-squareTangent5280@lemmy.worldlinkfedilinkarrow-up61arrow-down2·2 年前If I find this in production I’m whipping your ballsack till you change it back.
minus-squareJumuta@sh.itjust.workslinkfedilinkarrow-up19·2 年前import(“rembg”).remove(import(“PIL”).Image.open(‘cl.jpeg’)).save(‘output.png’)
minus-squaresexual_tomato@lemmy.dbzer0.comlinkfedilinkarrow-up10·2 年前https://codegolf.stackexchange.com/ Enjoy a new rabbit hole to dive down
minus-squaresilly goose meekah@lemmy.worldlinkfedilinkarrow-up3arrow-down1·edit-22 年前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.
Hahaha now code-golf it. One line FTW!
remove(Image.open(‘cl.jpeg’)).save(‘output.png’)
If I find this in production I’m whipping your ballsack till you change it back.
import(“rembg”).remove(import(“PIL”).Image.open(‘cl.jpeg’)).save(‘output.png’)
Can i hire you?
So I’m not going to change it
Code golf! I just learned something new 😂
https://codegolf.stackexchange.com/
Enjoy a new rabbit hole to dive down
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.
I haven’t either but I like it.