cm0002@suppo.fi to Programmer Humor@programming.dev · 10 hours agoThe truth will set you free 🥲suppo.fiimagemessage-square6linkfedilinkarrow-up1185arrow-down14
arrow-up1181arrow-down1imageThe truth will set you free 🥲suppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 10 hours agomessage-square6linkfedilink
minus-squareglizzyguzzler@piefed.blahaj.zonelinkfedilinkEnglisharrow-up28·8 hours 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-up2·1 hour agoI’ve done it a lot to add import pdb; pdb.set_trace()
minus-squarelengau@midwest.sociallinkfedilinkarrow-up2·1 hour agoThese days though you can just breakpoint()
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()