HiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 days agoPython needs an actual default functionlemmy.mlexternal-linkmessage-square34fedilinkarrow-up1230arrow-down17file-text
arrow-up1223arrow-down1external-linkPython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 days agomessage-square34fedilinkfile-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·4 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·4 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.