Python Tutorial – 15. if __name__ == "__main__"

///Python Tutorial – 15. if __name__ == "__main__"

Python Tutorial – 15. if __name__ == "__main__"

FavoriteLoadingAdd to favorites

Video without background music:
Website:
Facebook:
Twitter:
Patreon:

source

By |2019-06-28T20:14:54+00:00June 28th, 2019|Python Video Tutorials|10 Comments

10 Comments

  1. codebasics June 28, 2019 at 8:14 pm - Reply

    Video without background music: https://youtu.be/2AKJzc-cSj8

  2. westfield90 June 28, 2019 at 8:14 pm - Reply

    Thank you but I'm a little confused by you saying that main() is the entry point of a program. If for example I had a print statement as the first line of my program that would run even though it was not in the main (). So how is main() the entry point of the program when python is running the program from top to bottom?

  3. Analyst Rising June 28, 2019 at 8:14 pm - Reply

    Hi, I think your tutorials are really great. Would you help me out and subscribe to my channel? I would really appreciate it

  4. David Usharauli June 28, 2019 at 8:14 pm - Reply

    I still did not understand logic and you did not explain why it's actually matter or relevant to include this statement in the end of python files?

  5. Jamel Stringer June 28, 2019 at 8:14 pm - Reply

    not sure why the sexy music, but thanks to your tutorial I finally understand the logic of _name_=="__main__"

  6. W. Schobel June 28, 2019 at 8:14 pm - Reply

    Found your tutorials today. They are realy great. Thanks a lot

  7. uwu June 28, 2019 at 8:14 pm - Reply

    D E S I G N A T E D
    E
    S
    I
    G
    N
    A
    T
    E
    D
    nice tutorial though thanks

  8. Lara Yiwola Eludini June 28, 2019 at 8:14 pm - Reply

    How do I enter in if _name_==main from caller .py?

  9. Alae Larheribi June 28, 2019 at 8:14 pm - Reply

    Tnx 🙂

  10. Catherine Jennifer June 28, 2019 at 8:14 pm - Reply

    Thank you!

Leave A Comment

*