Performing a Folder Checkup
So let’s get started with this challenge. I’ve went ahead and downloaded the
practice_files/ folder from the supporting material and placed it in my home folder for now, and it has the following structure. So it looks like this.
00:42 So let’s start by taking a note of the task that I want to perform here. Copy this from the instruction. It says—going to have to make this a bit smaller—Create a new folder in the `practice_files/` folder called `images/`, and move all image files to that folder. This is basically the instructions that I want to tackle in this task.
I have the
practice_files/ folder, and I’m going to just get started from there. I will use both the REPL here on the side to do some testing and basically some operations that are not really part of the final script, but that are going to help me to develop this program.
03:15 Okay, so now I got the correct path of the directory, and I confirmed that it exists. You can say, like, it was good that I went ahead to check because I had forgotten that there is an additional folder in here, and I would’ve worked with the wrong path if I didn’t go ahead and check whether this is actually where the folder is located.
Become a Member to join the conversation.