()
Display platform information.
Display platform information.
Display platform information .
def display_platform_information():
    """
    Display platform information.
    """
    import platform
    output_string = '\n-- INFORMATION: PLATFORM & OS ---------\n'

    try:

        output_string = add_param_to_output(output_string,
                                            'OS',
                                            platform.platform())
        output_string = add_param_to_output(output_string,
                                            'OS release version',
                                            platform.version())
        output_string = add_param_to_output(output_string,
                                            'machine',
                                            platform.machine())
        output_string = add_param_to_output(output_string,
                                            'node',
                                            platform.node())
        output_string = add_param_to_output(output_string,
                                            'python version',
                                            platform.python_version())
        output_string = add_param_to_output(output_string,
                                            'python build',
                                            platform.python_build())
        output_string = add_param_to_output(output_string,
                                            'python compiler',
                                            platform.python_compiler())

    except Exception:
        output_string += 'Some platform information cannot be displayed\n'
    output_string += '----------------------------------------'
    neon_logger.display(output_string)
def display_platform_information ( ) : import platform output_string = '\n-- INFORMATION: PLATFORM & OS ---------\n' try : output_string = add_param_to_output ( output_string , 'OS' , platform . platform ( ) ) output_string = add_param_to_output ( output_string , 'OS release version' , platform . version ( ) ) output_string = add_param_to_output ( output_string , 'machine' , platform . machine ( ) ) output_string = add_param_to_output ( output_string , 'node' , platform . node ( ) ) output_string = add_param_to_output ( output_string , 'python version' , platform . python_version ( ) ) output_string = add_param_to_output ( output_string , 'python build' , platform . python_build ( ) ) output_string = add_param_to_output ( output_string , 'python compiler' , platform . python_compiler ( ) ) except Exception : output_string += 'Some platform information cannot be displayed\n' output_string += '----------------------------------------' neon_logger . display ( output_string )