cm0002@suppo.fi to Programmer Humor@programming.dev · 2 months agoThe truth will set you free 🥲suppo.fiimagemessage-square27linkfedilinkarrow-up1395arrow-down19
arrow-up1386arrow-down1imageThe truth will set you free 🥲suppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 2 months agomessage-square27linkfedilink
minus-squareglizzyguzzler@piefed.blahaj.zonelinkfedilinkEnglisharrow-up50·2 months agoYou can slam semicolons at the ends of lines in Python, interpreter doesn’t care P sure you can do multiple lines in one line by slamming semicolons too, though idr for sure and I can’t be arsed to check
minus-squareaffenlehrer@feddit.orglinkfedilinkarrow-up13·2 months agoI’ve done it a lot to add import pdb; pdb.set_trace()
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up2·28 days agotry: your_entire_program() except: import pdb pdb.pm()
minus-squareZoteTheMighty@lemmy.ziplinkfedilinkarrow-up7·2 months agoUntil my boy black let’s you know about his redecoration ideas.
You can slam semicolons at the ends of lines in Python, interpreter doesn’t care
P sure you can do multiple lines in one line by slamming semicolons too, though idr for sure and I can’t be arsed to check
I’ve done it a lot to add
import pdb; pdb.set_trace()
try: your_entire_program() except: import pdb pdb.pm()Until my boy
blacklet’s you know about his redecoration ideas.