changeset 1210 | ed0ee1b5343c |
parent 1190 | 26fd684df3ee |
child 1211 | 02aabbf45b59 |
1209:bb6eaf58a856 | 1210:ed0ee1b5343c |
---|---|
62 PyChecker. |
62 PyChecker. |
63 ---------- |
63 ---------- |
64 |
64 |
65 http://pychecker.sourceforge.net/ |
65 http://pychecker.sourceforge.net/ |
66 |
66 |
67 Debugging Python code. |
|
68 ====================== |
|
69 |
|
70 Pretty print under Python. |
|
71 -------------------------- |
|
72 :: |
|
73 |
|
74 import pprint |
|
75 print(pprint.pformat('string')) |
|
76 print(pprint.pformat(['1', '2'])) |
|
77 |
|
78 http://docs.python.org/library/pprint.html |
|
79 Doc page. |
|
80 |