I want to get a list with just folders (without subfolders). Any idea how to do that ???
Sauronevileye
0
Newbie Poster
Recommended Answers
Jump to PostI'm sure you can use os.walk
and it yields a 3-tuple (dirpath, dirnames, filenames)
All 4 Replies
jcao219
18
Posting Pro in Training
spiricn
0
Newbie Poster
hondros
25
Junior Poster
Sauronevileye
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.