Learn how to read text files in Python. Use the open() function to read file contents entirely, line-by-line, or as a list of strings safely.