utils/handsfree/pre_run.py
def pretty_print_setup_dir(setup_dir):
    '''
    Pretty print the directory structure of the setup directory
    '''

    for root, dirs, files in os.walk(setup_dir):
        level = root.replace(setup_dir, '').count(os.sep)
        indent = ' ' * 4 * (level)
        print('{}{}/'.format(indent, os.path.basename(root)))
        subindent = ' ' * 4 * (level + 1)
        for f in files:
            print('{}{}'.format(subindent, f))

    Pretty print the directory structure of the setup directory
    
Pretty print the directory structure of the setup directory
Pretty print the directory structure of the setup directory
def pretty_print_setup_dir(setup_dir):
    for root, dirs, files in os.walk(setup_dir):
        level = root.replace(setup_dir, '').count(os.sep)
        indent = ' ' * 4 * (level)
        print('{}{}/'.format(indent, os.path.basename(root)))
        subindent = ' ' * 4 * (level + 1)
        for f in files:
            print('{}{}'.format(subindent, f))
def pretty_print_setup_dir ( setup_dir ) : for root , dirs , files in os . walk ( setup_dir ) : level = root . replace ( setup_dir , '' ) . count ( os . sep ) indent = ' ' * 4 * ( level ) print ( '{}{}/' . format ( indent , os . path . basename ( root ) ) ) subindent = ' ' * 4 * ( level + 1 ) for f in files : print ( '{}{}' . format ( subindent , f ) )
Pretty print the directory structure of the setup directory
Pretty print the directory structure of the setup directory
'''
    Pretty print the directory structure of the setup directory
    '''
setup_dir