Good day to all. This is actually my first time ever posting a question so I'm gonna go straight to the point. Me and my team mates are actually working on an application using python as our programming language and we are stuck in finding ways on how to create a file manager using the said language.
We have been searching and scouring the web but we can't seem to find the appropriate answer for the questions.
We are trying to achieve something like this using python
in either eclipse
or using glade.
.-root
. - dir_one
. -file_one
. -file_two
. -file_three
. -dir_two
. -image_one
. -image_two
Sorry, I can't seem to post images as of the moment. Any help would be greatly appreciated.
Thank you in advance.
If you just want to print something like what you showed in your post, then what you are searching for is os.walk.
Here is a good example on how to use it.
And as Michael mentioned, the os module is probably filling most of your needs regarding file manager operations.