accidentally did this without thinking: def print_blah_on_main(): print(blah) if...

@aud@fire.asta.lgbt

accidentally did this without thinking:

def print_blah_on_main():
    print(blah)

if __name__ == "__main__":
    blah = "yay"
    print_blah_on_main()

I don't love it! It makes sense why it works when run from the command line but that's still a tich cursed. Can't wait till I get some proper sleep...

(the real example is a much longer file, and the thing I accessed was the arguments from the argparser...)