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

Publicado el: 23 agosto 2019
en el 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  


En esta página del sitio puede ver el video en línea Modules: What does if name == main do? - Python de Duración hora minuto segunda en buena calidad , que subió el usuario Dcode Tech 23 agosto 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 48 veces y le gustó 2 a los espectadores. Disfruta viendo!