A top-level main script will execute our application. In some cases, we may have multiple main scripts because our application does several things. We have three general approaches to writing the top-level main script:
python3.3 some_script.py. This is the style that we've shown you in most examples.
chmod +xcommand. We can put these executable files into Python's
scriptsdirectory with our
setup.pyinstallation. We run these applications with
some_script.pyat the command line.
__main__.pymodule in the ...