Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法以人类可读的格式(多行,缩进)打印列表或字典(或其中包含字典的列表),而不是仅仅在一个长行上?
查看 pprint(漂亮的打印机):http ://docs.python.org/2/library/pprint.html