def print_global_config(global_config):
    if global_config.has_section('shell'):
        print("\nShell configurations:")
        for shell_type, set_value in global_config.items('shell'):
            print("{0}: {1}".format(shell_type, set_value))

    if global_config.has_option('global', 'env_source_rc'):
        print("\nHave sprinter env source rc: {0}".format(
            global_config.get('global', 'env_source_rc')))
print the global configuration
dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/core/globals.py/print_global_config