Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to get every name in folder

import os
for name in os.listdir("."):
  if os.path.isdir(name):
    print(str(name))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #folder
ADD COMMENT
Topic
Name
2+6 =