HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agoPython needs an actual default functionlemmy.mlimagemessage-square158linkfedilinkarrow-up1755arrow-down129file-text
arrow-up1726arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agomessage-square158linkfedilinkfile-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·1 year agoJust cross your fingers nobody attempts to import it…
minus-squarebastion@feddit.nllinkfedilinkarrow-up1·1 year 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.