Gayathri Kumaran posted: " import glob import os dir_name = '/home/Documents/' # Get list of all files in a given directory sorted by name list_of_files = sorted( filter( os.path.isfile, glob.glob(dir_name + '*') ) ) # Iterate over sorted list of files an"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.