▲ 733 ▼ Python needs an actual default function (lemmy.ml) submitted 1 year ago by HiddenLayer555@lemmy.ml to c/programmer_humor@programming.dev 160 comments fedilink hide all child comments 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?
[–] HiddenLayer555@lemmy.ml [S] 24 points 1 year ago* Heard of it, was too lazy to do it that way. To be fair I now do it that way, but not when I was learning Python. permalink fedilink source parent