Is there a way to return a list of all the subdirectories in the current directory in Python?

I know you can do this with files, but I need to get the list of directories instead.

32 s
32

Leave a Reply

Your email address will not be published. Required fields are marked *