PythonProjects
PythonProjects copied to clipboard
[DirectoryTree]When you are using name as an "id" you will get an error when the same name occurs again for example
For example when we will have inside our folder a with folder c with folder d and b with folder c with folder e the output will be
a
-c
--d
b
-c
--d
but should be
a
-c
--d
b
-c
--e
Error occurs cause you are using folder's name as an id in 32-nd line.