> Don't you think it would be more convenient for glob.glob to return > file names only in any case, like os.listdir do? No. Use glob.glob1 if you want a list of files. Regards, Martin