Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the name of a file using os

>>> list_of_names_in_directory = os.listdir('path/of/directory')
 
PREVIOUS NEXT
Tagged: #file #os
ADD COMMENT
Topic
Name
6+9 =