1 00:00:00,000 --> 00:00:02,806 Here on my desktop, I have a text file, 2 00:00:02,914 --> 00:00:06,124 fruits.txt. If I double click it, it 3 00:00:06,149 --> 00:00:08,549 will open with one of the text editors 4 00:00:08,975 --> 00:00:12,119 that I have installed in my computer. So 5 00:00:12,119 --> 00:00:14,549 the text editor is a program, and in 6 00:00:14,549 --> 00:00:17,279 this program, I can read this file, so I 7 00:00:17,279 --> 00:00:19,649 can read this lines, I can write more 8 00:00:19,649 --> 00:00:22,019 lines here, I can copy this and paste, 9 00:00:22,259 --> 00:00:25,859 multiply them to have a lot of these 10 00:00:25,859 --> 00:00:28,469 lines in here in this text file, and I 11 00:00:28,469 --> 00:00:31,499 can do all this with this text editor 12 00:00:31,499 --> 00:00:34,229 program that I happen to have here in my 13 00:00:34,254 --> 00:00:37,704 computer. Now, we can do the same using 14 00:00:38,039 --> 00:00:40,379 Python, which means we can read the file 15 00:00:40,552 --> 00:00:43,042 with Python, we can write more content 16 00:00:43,079 --> 00:00:45,839 in that file, we can multiply this and 17 00:00:45,839 --> 00:00:47,189 we can actually do that very 18 00:00:47,189 --> 00:00:49,559 efficiently. If I had to multiply this, 19 00:00:50,254 --> 00:00:54,094 I had to copy and paste them a thousand times 20 00:00:54,119 --> 00:00:56,639 maybe, but with Python, you can do that 21 00:00:56,639 --> 00:01:01,379 very easily. So let's go ahead and do 22 00:01:01,379 --> 00:01:03,539 the same thing with Python, and let's 23 00:01:03,539 --> 00:01:06,569 start with reading the file. So how to 24 00:01:06,569 --> 00:01:08,219 read a file with Python. I'll show you 25 00:01:08,219 --> 00:01:09,282 that in the next video. 26 00:01:09,306 --> 00:01:12,560 [No audio]