if __name__ == "__main__": # execute only if run as a script main() code example
Example: python main
if __name__ == "__main__":
# execute only if run as a script
main()
if __name__ == "__main__":
# execute only if run as a script
main()