Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list all files starting with python

import os
prefixed = [filename for filename in os.listdir('.') if filename.startswith("prefix")]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #files #starting #python
ADD COMMENT
Topic
Name
5+6 =