devilish666@lemmy.world to Programmer Humor@lemmy.ml · 5 months agoPython tutorial momentlemmy.worldimagemessage-square56fedilinkarrow-up1480arrow-down159
arrow-up1421arrow-down1imagePython tutorial momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 5 months agomessage-square56fedilink
minus-squareOtter@lemmy.calinkfedilinkEnglisharrow-up30·5 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
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