If you want to read a plain text file using Python than Python's inbuilt "with open" function and pandas package are good options for it.
Using Python's inbuilt function "with open" we can read, write and append files. We can also read files having different encoding.
If you want to get more details on it, please refer the below URLs.
https://docs.python.org/3/tutorial/in...
https://docs.python.org/3/library/fun...
https://docs.python.org/3/tutorial/in...