<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
import fnmatch | |
import os | |
src = '<Path>' | |
pattern = '*.py' | |
matches = [] | |
for root, dirnames, filenames in os.walk(src): | |
for filename in fnmatch.filter(filenames, pattern): | |
matches.append(os.path.join(root, filename)) |