Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get file names in folder python

from os import listdir
from os.path import isfile, join
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #names #folder #python
ADD COMMENT
Topic
Name
5+8 =