Yong Cui
Feb 11, 2021

--

Thanks for sharing your thoughts on this, Eric. I use named tuples when I simply use them as data holders, because I can just use one line of code to create one.

I'll try the JSON formatting for print-out. Sounds a nice approach.

--

--

Yong Cui
Yong Cui

Written by Yong Cui

Work at the nexus of biomedicine, data science & mobile dev. Author of Python How-to by Manning (https://www.manning.com/books/python-how-to).

No responses yet