For further explanation, using open("myText.txt") is equivalent to open("myText.txt, "r") since "r" (read-only mode) is the default option for the second positional parameter of open(). I figured it might be worth mentioning since the behavior of defaults are not always obvious to new users of the language.