If __name__ == '__main__ ' in Python | Python Tutorials for Beginners

Published: 22 October 2023
on channel: Jenny's Lectures CS IT
18,391
400

In this lecture, we will learn :
What is if name == '__main__': idiom?
if _name_ == _main_ need and usage
when to use this conditional in python?

This conditional is used to check whether a python module is being run directly or being imported.

Best Python Tutorials for Beginners:    • Python - Basic to Advance  

*********************************************

Connect & Contact Me:

Jenny's Lecture Hindi:    / @jennyslectureshindi  

Facebook:   / jennys-lectures-csit-netjrf-316814368950701  
Quora: https://www.quora.com/profile/Jayanti...
Instagram:   / jayantikhatrilamba  
Twitter:   / khatrijenny  
*******************************************

More Playlists:

Programming in C Tutorials:    • Programming in C  

Printing Pattern in C:    • Printing Pattern Programs in C  

C++ Tutorials for beginners:    • Lec 1: How to Install and Set Visual ...  

Placement Series:    • Placements Series  

Data Structures and Algorithms: https:    • Data Structures and Algorithms  

Design and Analysis of Algorithms(DAA):    • Design and Analysis of Algorithms(DAA)  

Dynamic Programming:    • Dynamic Programming  

Operating Systems tutorials: //   • Operating Systems  

DBMS Tutorials:    • DBMS (Database Management System)  
#python #pythonforbeginners #pythonprogramming #pythontutorial #python3 #jennyslectures


On this page of the site you can watch the video online If __name__ == '__main__ ' in Python | Python Tutorials for Beginners with a duration of hours minute second in good quality, which was uploaded by the user Jenny's Lectures CS IT 22 October 2023, share the link with friends and acquaintances, this video has already been watched 18,391 times on youtube and it was liked by 400 viewers. Enjoy your viewing!