I have covered the _name_ variable in python.
It gives the name of the file. If called directly will return _main_ otherwise will give the filename.
One can keep the things under this condition that they want to run only if this file run directly with it's name.
#python #python3 #pythonprogramming #pythoninhindi #pythontutorial
#pythontutorialforbeginners #pythonforbegginer #coding #codinglife #codingninja #codingislove #codingislife
Sur cette page du site, vous pouvez voir la vidéo en ligne What is __name__=="__main__" in python | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Sumit Singh 13 septembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8 fois et il a aimé 2 téléspectateurs. Bon visionnage!