def globber_full(path, pattern=u'*'):
 if os.path.exists(path):
  try:
   return [os.path.join(path, f) for f in os.listdir(path) if fnmatch.fnmatch(f, pattern)]
  except UnicodeDecodeError:
   path = path.encode('utf-8')
   return [os.path.join(path, f) for f in os.listdir(path) if fnmatch.fnmatch(f, pattern)]
 else:
  return []

def globber_full ( path , pattern = u'*' ) : if os . path . exists ( path ) : try : return [ os . path . join ( path , f ) for f in os . listdir ( path ) if fnmatch . fnmatch ( f , pattern ) ] except UnicodeDecodeError : path = path . encode ( 'utf-8' ) return [ os . path . join ( path , f ) for f in os . listdir ( path ) if fnmatch . fnmatch ( f , pattern ) ] else : return [ ]
return matching full file/folder names in folder path .