Is this considered good form when writing cross-platform code?
#! /usr/bin/env python3
And how about this?
if __name__ == "__main__":
main()
I've reviewed some recent sample snippets and not all of them use the shebang and the conditional main call, so I wasn't sure whether that is still considered good practice.
Thanks for all replies.