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?

  • Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 days ago

    Thank you for sharing your thoughts :)

    Python will happily let you overwrite its own internals while running, for instance

    Damn, that’s cool and I did not even know. Pretty sure I would not do this in production code, but very glad very this possibility exists