cm0002@suppo.fi to Programmer Humor@programming.dev · 22 days agoThe truth will set you free 🥲suppo.fiimagemessage-square28linkfedilinkarrow-up1404arrow-down18
arrow-up1396arrow-down1imageThe truth will set you free 🥲suppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 22 days agomessage-square28linkfedilink
minus-squareglizzyguzzler@piefed.blahaj.zonelinkfedilinkEnglisharrow-up54·22 days 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·21 days agoI’ve done it a lot to add import pdb; pdb.set_trace()
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up2·2 days agotry: your_entire_program() except: import pdb pdb.pm()
minus-squarelengau@midwest.sociallinkfedilinkarrow-up8·21 days agoThese days though you can just breakpoint()
minus-squareZoteTheMighty@lemmy.ziplinkfedilinkarrow-up7·20 days 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()These days though you can just
breakpoint()Until my boy
blacklet’s you know about his redecoration ideas.