"find all files in directory ""/mydir"" with extension "".txt""","for file in os.listdir('/mydir'):