This is the 13th video in my python programming series. Today I talk about how to read from a text file using python.

Note: Make sure your file in in the directory as your python script or else this will not work! Also make sure you use the ‘r’ file mode.

Text-Based Tutorial: https://techwithtim.net/tutorials/python-programming/beginner-python-tutorials/file-io-reading-files/

#python

Python Programming Tutorial #13 - How to Read a Text File
1.65 GEEK