HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 10 days agoPython needs an actual default functionlemmy.mlimagemessage-square160fedilinkarrow-up1748arrow-down129file-text
arrow-up1719arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 10 days agomessage-square160fedilinkfile-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·10 days agoJust cross your fingers nobody attempts to import it…
minus-squarebastion@feddit.nllinkfedilinkarrow-up1·9 days 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.