It is a bit cleaner to use `__main__` [before calling that](https://stackoverflow.com/questions/4041238/python-why-use-def-main), so you can import this file again somewhere else:
```python
if __name__ == "__main__":
    main()
```