该模块用于美化输出。
from pprint import pprintquotes = OrderedDict([('Moe', 'A wise guy, huh?'), ('Larry', 'Ow!'), ('Curly', 'Nyuk nyuk!')])print(quotes) # output: OrderedDict([('Moe', 'A wise guy, huh?'), ('Larry', 'Ow!'), ('Curly', 'Nyuk nyuk!')])pprint(quotes)# {'Moe': 'A wise guy, huh?',# 'Larry': 'Ow!',# 'Curly': 'Nyuk nyuk!'}
