def get_files(path):
    """
    Returns a recursive list of all non-hidden files in and below the current
    directory.
    """
    return_files = []
    for root, dirs, files in os.walk(path):

        # Skip hidden files
        files = [f for f in files if not f[0] == '.']
        dirs[:] = [d for d in dirs if not d[0] == '.']

        for filename in files:
            return_files.append(os.path.join(root, filename))
    return return_files
def get_files ( path ) : return_files = [ ] for root , dirs , files in os . walk ( path ) : files = [ f for f in files if not f [ 0 ] == '.' ] dirs [ : ] = [ d for d in dirs if not d [ 0 ] == '.' ] for filename in files : return_files . append ( os . path . join ( root , filename ) ) return return_files
Returns a recursive list of all non-hidden files in and below the current
    directory.