devilish666@lemmy.world to Programmer Humor@lemmy.ml · 3 months agoPython tutorial momentlemmy.worldimagemessage-square16fedilinkarrow-up188arrow-down125
arrow-up163arrow-down1imagePython tutorial momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 3 months agomessage-square16fedilink
minus-squareBjörn Tantau@swg-empire.decakelinkfedilinkarrow-up42arrow-down2·3 months agoIt’s kind of funny because it looks like it is nonsense dreamt up by a non-programmer. But it actually works.
minus-squaremac@infosec.publinkfedilinkarrow-up37·3 months agoI thought it was poking fun at the tutorial saying instead of learning to code, import a library from someone who knows how to code.
minus-squaremac@infosec.publinkfedilinkarrow-up7·3 months ago “I also sampled everything in the medicine cabinet” This made me smile.
minus-squareChaoticNeutralCzech@lemmy.onelinkfedilinkarrow-up4·edit-23 months agoTime travel is a prerequisite but don’t worry, you can just from __future__ import antigravity
minus-squareOtter@lemmy.calinkfedilinkEnglisharrow-up9·3 months agofrom Lemmy import Upvote from Fediverse import Posts from ActivityPub import Submit target_post = 'https://lemmy.ca/post/18691085' num_votes = 8 post = Posts.open(target_post) package = Upvote(post, num_votes) package.Submit(target_post) or something
It’s kind of funny because it looks like it is nonsense dreamt up by a non-programmer. But it actually works.
I thought it was poking fun at the tutorial saying instead of learning to code, import a library from someone who knows how to code.
Works as well.
It’s basically import antigravity
This made me smile.
Time travel is a prerequisite but don’t worry, you can just
from __future__ import antigravity
from Lemmy import Upvote from Fediverse import Posts from ActivityPub import Submit target_post = 'https://lemmy.ca/post/18691085' num_votes = 8 post = Posts.open(target_post) package = Upvote(post, num_votes) package.Submit(target_post)
or something