Using if __name__ == '__main__':
- This means it can be run as a script:
- https://www.youtube.com/watch?v=g_wlZ9IhbTs
- Then use the
def main()function, as anything defined in__name__is global scope
Dont name your file โDNSโ if your trying to import DNS due to circular imports..fuckhead
