def fileglob(pathname):
 return [g for g in glob.glob(pathname) if os.path.isfile(g)]

def fileglob ( pathname ) : return [ g for g in glob . glob ( pathname ) if os . path . isfile ( g ) ]
return list of matched regular files for glob .