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
  • 11,907
  • 7
  • 44
  • 71
bbesase
  • 731
  • 4
  • 16
  • 31

0 Answers0