Hacker News new | past | comments | ask | show | jobs | submit login

Friendly reminder the stlib includes the pprint module. pprint.pprint() will give nicely formatted output of data structures and lists.

(Not suggesting it as a replacement for this tool - but if you’re a pyhacker and don’t know about this it’s handy)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: