HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 10 months agoPython needs an actual default functionlemmy.mlimagemessage-square126linkfedilinkarrow-up1598arrow-down122file-text
arrow-up1576arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 10 months agomessage-square126linkfedilinkfile-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-squarefrezik@midwest.sociallinkfedilinkarrow-up3arrow-down1·10 months agoThe -i option is simply interactive mode. All commands still go through a compiler.
The
-ioption is simply interactive mode. All commands still go through a compiler.