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