[Python] Get a list of folders only

Purpose

List folders only </ b> when files and folders are mixed.

For detailed explanation and code, see Get a list of [Python] folders only.

Recommended Posts

[Python] Get a list of folders only
[python] Get a list of instance variables
Python: Get a list of methods for an object
Get the number of specific elements in a python list
Get a list of purchased DMM eBooks with Python + Selenium
Display a list of alphabets in Python 3
Try to get a list of breaking news threads in Python.
Get a list of files in a folder with python without a path
[python] Create a list of various character types
Get the caller of a function in Python
Make a copy of the list in Python
Get only the subclass elements in a list
Get a list of IAM users with Boto3
Get a list of Qiita likes by scraping
Get a glimpse of machine learning in Python
Get a list of packages installed in your current environment with python
Summary of Python3 list operations
[python] Get the list of classes defined in the module
How to write a list / dictionary type of Python3
Get a list of articles posted by users with Python 3 Qiita API v2
Python script to get a list of input examples for the AtCoder contest
[Python] Copy of multidimensional list
Group by consecutive elements of a list in Python
How to get a list of files in the same directory with python
Get the value of a specific key in a list from the dictionary type in the list with Python
Try to get the function list of Python> os package
How to shuffle a part of a Python list (at random.shuffle)
[Command] Command to get a list of files containing double-byte characters
Developed a library to get Kindle collection list in Python
How to get the last (last) value in a list in Python
Get index of nth largest / smallest value in list in Python
Python: Create a dictionary from a list of keys and values
How to get a list of links from a page from wikipedia
Get index of nth largest / smallest value in list in Python
A record of patching a python package
A good description of Python decorators
[python] Manage functions in a list
[Python] A memorandum of beautiful soup4
A brief summary of Python collections
python / Make a dict from a list.
Generate a list of consecutive characters
About the basics list of Python basics
Python> Get a list of files in multiple directories> Use glob | Sort by modification time
Get the value of a specific key up to the specified index in the dictionary list in Python
Get a list of CloudWatch Metrics and a correspondence table for Unit units with Python boto
A brief summary of Graphviz in python (explained only for mac)
[Python] Display only the elements of the list side by side [Vertical, horizontal]
I tried to create a list of prime numbers with python
[Python] Get the update date of a news article from HTML
I tried to get a list of AMI Names using Boto3
[Python] list
[Python] A program that rotates the contents of the list to the left
Get the number of readers of a treatise on Mendeley in Python
[Python] How to convert a 2D list to a 1D list
Get the column list & data list of CASTable
Make a relation diagram of Python module
Connect a lot of Python or and and
How to get a stacktrace in python
String conversion of a list containing numbers
[python] [meta] Is the type of python a type?
Basic grammar of Python3 series (list, tuple)