def get_platform_info_dict():
 platform_dict = {}
 (sysname, nodename, release, version, machine) = os.uname()
 platform_dict['os'] = sysname.lower()
 platform_dict['architecture'] = machine.lower()
 return platform_dict

def get_platform_info_dict ( ) : platform_dict = { } ( sysname , nodename , release , version , machine ) = os . uname ( ) platform_dict [ 'os' ] = sysname . lower ( ) platform_dict [ 'architecture' ] = machine . lower ( ) return platform_dict
return a dict with information about the current platform .