HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 2 months agoPython needs an actual default functionlemmy.mlimagemessage-square160linkfedilinkarrow-up1761arrow-down129file-text
arrow-up1732arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 2 months agomessage-square160linkfedilinkfile-text
Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?
minus-squareStatic_Rocket@lemmy.worldlinkfedilinkEnglisharrow-up7·2 months agoJust cross your fingers nobody attempts to import it…
minus-squarebastion@feddit.nllinkfedilinkarrow-up1·2 months agoDue to the oneness of all things, I refuse to distinguish between library code and executable code. One and Zero are arbitrary limitations.
Just cross your fingers nobody attempts to import it…
Due to the oneness of all things, I refuse to distinguish between library code and executable code. One and Zero are arbitrary limitations.