Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I hope this'll get answered
I just want to make a simple script that can work with files. OS's walk() seems to be able to single out all the directories in the current working directory according to the docs...
grr...but it doesn't return a tuple as it says, it only gives a `generator' object, one I called help on, but had no luck whatsoever
I hope this gets answered, please help me, at least to single out all the directories in a directory.