Python Main Function Best Practices