cm0002@suppo.fi to Programmer Humor@programming.dev · 2 months agoThe truth will set you free 🥲suppo.fiimagemessage-square28linkfedilinkarrow-up1396arrow-down19
arrow-up1387arrow-down1imageThe truth will set you free 🥲suppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 2 months agomessage-square28linkfedilink
minus-squareglizzyguzzler@piefed.blahaj.zonelinkfedilinkEnglisharrow-up54·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-squarelengau@midwest.sociallinkfedilinkarrow-up8·2 months agoThese days though you can just breakpoint()
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up2·27 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()
These days though you can just
breakpoint()try: your_entire_program() except: import pdb pdb.pm()Until my boy
blacklet’s you know about his redecoration ideas.