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
Sur cette page du site, vous pouvez voir la vidéo en ligne Modules: What does if name == main do? - Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Dcode Tech 23 août 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 48 fois et il a aimé 2 téléspectateurs. Bon visionnage!