J
Juliano Freitas
how can i get just the directories in other directorie without a files
using the os module in Python??
Juliano
using the os module in Python??
Juliano
Juliano said:how can i get just the directories in other directorie without a files
using the os module in Python??
import os
[x for x in os.listdir('.') if os.path.isdir(x)]
Juliano Freitas said:how can i get just the directories in other directorie without a
files using the os module in Python??
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.