Si __name__ ==

if __name__ == '__main__':     # Runs main() if file wasn't imported.
    main()
Gentle Grasshopper