Jean-Michel Pichavant wrote:
From: "subhabrata banerji" <subhabrata.bane...@gmail.com>

list_of_files = glob.glob('C:\Python27\*.*')
>
1/ Your file pattern search will not get files that do not have any dot in
their name

Actually, on Windows, it will. (This is for compatibility with
MS-DOS 8.3 filenames, where the dot wasn't actually stored, so
there was no distinction between a filename with a dot and an
empty extension, and a filename with no dot.)

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to