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?

  • FauxLiving
    link
    fedilink
    arrow-up
    37
    ·
    edit-2
    2 months ago
    if __name__ == '__main__':
        exec(open(__file__, 'r').read())