File Wildcards : File Utility « File « Python






File Wildcards

File Wildcards


#The glob module provides a function for making file lists from directory wildcard 
#searches:

import glob
print glob.glob('*.py')


           
       








Related examples in the same category

1.Copy file and move dir