Python needs an actual default function
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?
You're viewing a single thread.
The if block is still in the global scope, so writing the code in it is a great way to find yourself scratching your head with a weird bug 30 minutes later.
if
Interesting observation. Can you give an example where this is relevant?