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
    cake
    OP
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    4 个月前

    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.