0

I'm still semi new to python and all over the place in source code, I see this code:

if __name__ == '__main__':
    main()

What does it mean exactly? Is it something I should be using in every program I write or just occasionally?

che
  • 12,097
  • 7
  • 42
  • 71
bbesase
  • 791
  • 4
  • 18
  • 31

0 Answers0