Beginner learning python here. The longer version of the question is:
Write a python program (create your function) that prints the names of all the files available in a directory (path of the directory is taken as input), and if the directory contain any directory (or more directories) then it calls itself recursively on all the directories.
The question suggests using os.path.join()
if needed as well.
I have a brief idea of what the question is asking, but none of the ideas I came up with worked. All the answers I found on here were for different languages, too. I would appreciate some pointers as the very least...