modern-python-mwe/template/__main__.py

9 lines
189 B
Python

def main():
print("Hello, world!")
if __name__ == "__main__":
"""This test, at module level, permits the use of
`python -m template` to invoke whatever follows."""
main()