PID-server/yourls_client.py
def walk_path(path):
    """
    Walks os directory path collecting all CSV files.

    :param path: required, string. os directory.
    :return: list. List of csv paths.
    """
    file_list = []
    for root, _, files in os.walk(path, topdown=False):
        for name in files:
            if name.startswith('example'):
                continue
            elif name.endswith('.csv'):
                file_list.append(os.path.join(root, name))

    return file_list

    Walks os directory path collecting all CSV files.

    :param path: required, string. os directory.
    :return: list. List of csv paths.
    
Walks os directory path collecting all CSV files.
Walks os directory path collecting all CSV files .
def walk_path(path):
    file_list = []
    for root, _, files in os.walk(path, topdown=False):
        for name in files:
            if name.startswith('example'):
                continue
            elif name.endswith('.csv'):
                file_list.append(os.path.join(root, name))
    return file_list
def walk_path ( path ) : file_list = [ ] for root , _ , files in os . walk ( path , topdown = False ) : for name in files : if name . startswith ( 'example' ) : continue elif name . endswith ( '.csv' ) : file_list . append ( os . path . join ( root , name ) ) return file_list
Walks os directory path collecting all CSV files.
Walks os directory path collecting all CSV files .
"""
    Walks os directory path collecting all CSV files.

    :param path: required, string. os directory.
    :return: list. List of csv paths.
    """
list. List of csv paths.
list . List of csv paths .
path
required, string. os directory.
required string . os directory .