HiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoPython needs an actual default functionlemmy.mlimagemessage-square39fedilinkarrow-up1239arrow-down17file-text
arrow-up1232arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square39fedilinkfile-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-squarepoopsmith@lemmy.mllinkfedilinkEnglisharrow-up3arrow-down2·2 days agoI don’t see a lot of people building web servers in Bash. I think part of the point is that Python is a scripting language that likes to cosplay as a GPL.
minus-squareOriel Jutty :hhHHHAAAH:@infosec.exchangelinkfedilinkarrow-up4·2 days agoDo you know the difference between a script and a program? A script is what you give the actors; a program is what you give the audience.
I don’t see a lot of people building web servers in Bash. I think part of the point is that Python is a scripting language that likes to cosplay as a GPL.
Do you know the difference between a script and a program?
A script is what you give the actors; a program is what you give the audience.