Python - How to read a file in Python? - Learn Python on BeingSkilled

To read a file in Python, you need to use the function "open()" with variables Path Name, the mode such as r for writing, encoding such as UTF-08. 

data_read = open('../../../Downloads/file-name.txt', "r")