 And just like handling our files when we are reading just a normal text file, we can write a file as well. And there are two ways I'm going to show this off. One is to still use the same width block that we're operating off of right now. Just like with the statement of making phi and loading up our phi as a reading file, we're perfectly capable of doing an open right beside there separated by a comma. And I'll just go ahead and, you know, I won't make it a file path, I'll just call this a new CSV.csv. Make that a write as output phi. Same kind of thing has gone on. And once again, just like I would do a reader for my CSV reader, I can do a writer for my CSV writer. And so in this case, now I happen to have two files opened up at the same time. There's one for reading the file and then there's one for writing the file. And so in this case, let's say I still want to do the same kind of loading and processing. I still do want to have this that peddling. So in this case, I'm going to add in writer. Now, if I want to write a row, I just go right row, right row shaggy. It's funny to me. Now, in here, specifically, I need to specify what columns and specify those columns. I give it a list. Now, in my case, I'm only doing one row, but for our sake, let's go ahead and say, line at two and then line at three. So now I'm not just writing petal length, but I'm also doing petal width. So zero, one, two, and three. And so as you can see, I've specified, oh, well, this is the first column. This is the second column. Now, again, that's just handling it from that first row. Let's go ahead and do the exact same thing. Val 1, Val 2. And I'll just use those to represent the values that are going to get printed into our CSC file. So we take this, we run it. And if we were to take a look, you see, oh, there's that new CSV dot CSV. We load that up. Now it is going to add in a new line. And there are ways you can process that to specify not to have an end line to this. Where are you? There you are. I believe new line equals blank. Believe that's it. No crashing. So maybe that worked. Let's take a look at it again. There you go. You can see, oh, well, that new line, instead of it being hit enter, we've effectively said don't hit enter. Just leave it as a blank. Now, this is again, step one. This is approach one. I don't like to do this all that much. It works. But typically how I like to operate is I don't like to do all of my reading and writing at the same time. I like to have my reading done, then process my contents, then write them structural differences. So with that in mind, let's convert this to my second approach. So let's see. I'll add that in here for a second. Let's see. So I would like to have something known as contents equals a square bracket. Rather than writing that line right away, I'd like to do contents.pend. And add in, let's see that, other square bracket. And then it should be the exact same. I'm just making sure, boom, square bracket, print contents, the first five lines. Now, again, the reason why I like to do this is, again, while I'm just printing here, this is where I would typically do my processing if I need to do any type of new function or new columns that I need to be making. I would be doing it here before I write. So just to see that in action, contents and append. Let's see. Where are you? One too many there. There we go. So again, I just printed out those first five lines, again, perfectly fine. This is where I would, you can almost imagine what I would be doing here is load the CSV file. And then I'll actually put this on its own cell block, just insert cell below, process contents. This is where I would be doing that processing state. So again, I'll read it. I'll process it. And then I would be writing to a new file. So again, in this case, just like we did when we were doing the right rows earlier, we just don't need to do any of the processing anymore, because we've already loaded it all into memory. That doesn't need to be there. It needs to be down here. And then for row in contents, contents, writer dot write row, row. And it's my way, you know, both are going to work. Choose which one, you know, looks cleaner to you. And there you go, writing to a CSV file.