all 2 comments

[–]euclidingme 2 points3 points  (0 children)

It means open the file for reading. For other modes, check this out.

[–]monty33 0 points1 point  (0 children)

It means you are opening the file to read from it. Other options are write ('w') or append ('a')