Python小于括号

时间:2019-11-26 09:37:25

标签: python dictionary

<>括号在python中是什么意思?就像下面的列表一样,我打印出了...

OrderedDict([(<alert.power_level: 0>, OrderedDict([('alert', <alert.power_level: 0>), ('level', <alert_level.none: 0>), ('list_flags', <list_flags_Bitfield: [<list_flags.First: 0>]>)])), (<alert.too_hot: 1>, OrderedDict([('alert', <alert.too_hot: 1>), ('level', <alert_level.none: 0>), ('list_flags', <list_flags_Bitfield: []>)])), (<alert.too_cold: 2>, OrderedDict([('alert', <alert.too_cold: 2>), ('level', <alert_level.none: 0>), ('list_flags', <list_flags_Bitfield: [<list_flags.Last: 1>]>)]))])

我又如何获得“级别”值(alert.power_level后为0)

0 个答案:

没有答案