How about, I'm working with a simple example of a python book, with sockets, and punctually after declaring 2 functions, in what would be the main the following is put:
if __name__ == '__main__':
main()
My doubt is, in what affect the program put, or not put "if name == ' main ':" ?. I ask why I tried quintandolo, and leaving only the "main ()" and the execution was completed correctly, without affecting the code or result of the program for which it was programmed.
Thanks in advance.