if __name__ == “__main__”

Does your Python program always starts at the top of the file or can you tell Python where to start? Let's find out!

We'll cover the following...

You will see a very common conditional statement used in many Python examples. This is what it looks like:

if __name__ == "__main__":
    # do something!

You will ...