Okay so in this lecture we are going to do is that we are going to work with this upload folder to have
that function.
So we can try to get a list of folders first.
So in this lecture we really try to find out what folders are present in order to better treat.
So to do this when you first need to define our group better true which would be to present working
better to
okay the next thing we need to do is we need to define a string which really contain a list of folders
so I'm going to call it a bunch of folders labeled what we have type string then we need to video we
need to read to better to to find out which folders are present.
So it's good to do this.
What we can do is we can use I you've been taught through that actually functions and then we need to
provide that would be key here.
And this is very done two things.
The first and it will return elements and then it and then we're going to ignore.
However the moment
once we have these elements not that these elements are the final objects.
So if you go the and in it and see that it turns the list off I loved it.
Finally in years.
So what we can do is we can loop over to this new witness list and then find out what type of element
visit is it to find out that actually we are currently interested in finding out folders so we can say
for bags and then find equals to change.
And then what we're going to do is you know to check if the findings of directory or not.
So we can do this if we find it is that actually we can know that it's a directory then we can simply
claim it if empty doctrine and then X
and then we can print out to the filing the folder.
And then we can append this file the name to this for that.
So it should be formed not by looking let's be reclaim this.
So the name is a little bit confusing but then note that this is a file object not defined.
So and then I need to append this or that I'm going to use append and then I'm need to append this in
folders and I need to append find a name to this folder.
Um I'm going to store this in folders.
So now what will happen is I didn't get a list of all the folders in the room directly which should
be core and zip this and all the hidden files.
So let's weird.
Okay.
So now we have on the folders list or we and the next thing we need to do is we need to send it to our
Twitter machine.
And so you ever taken a machine the next lecture or we do this.