Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
how to get all folders on path in python
Jane d.
Programming language:
Python
2021-05-05 11:50:28
0
Q:
how to get all folders on path in python
user3205
Code:
Python
2021-07-06 15:52:42
os.walk(directory) [x[0] for x in os.walk(directory)]
2
Tags
path
python
get
how
folder
Related
python script to read all file names in a folder
python get all file names in directory
os list all files in one dir
python os get dir path
python list files in current directory
python get all file names in a dir
python how to get the folder name of a file
python read a directory to get all files in sub folders
python find specific file in directory
get file names in folder python
python get list of files in path
get list of folders in directory python
python list all files in directory
python list directory files
New to Communities?
Join the community