

112·
4 days ago#!/usr/bin/env python
def main() -> None:
"""executes when file is run as a standalone script"""
print('hello world')
if __name__ == '__main__':
main()
print('hello world')
#!/usr/bin/env python
def main() -> None:
"""executes when file is run as a standalone script"""
print('hello world')
if __name__ == '__main__':
main()
print('hello world')
You also don’t suddenly get rid of it once you’re an adult, which I believe is the point being made