Modules: What does if name == main do? - Python

Publicado em: 23 Agosto 2019
no canal de: Dcode Tech
48
2

This video explains why if _name_ == '__main__' in python. This feature is to have code only run when the file it is in, is run directly, and have it not run when the file (module) is imported into another file. This video is a continuation of python for beginners series. I use python3.7 in this tutorial series.

Support the Channel:
Patreon:   / dcodetech  


Nesta página do site você pode assistir ao vídeo on-line Modules: What does if name == main do? - Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Dcode Tech 23 Agosto 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 48 vezes e gostou 2 espectadores. Boa visualização!