Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

open a filename starting with in python

for file in os.listdir("/Users/darren/Desktop/test"):
    if file.startswith("art"):
        print(file)
Source by programmingwithswift.com #
 
PREVIOUS NEXT
Tagged: #open #filename #starting #python
ADD COMMENT
Topic
Name
5+4 =