Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
est
8 months ago
|
parent
|
context
|
favorite
| on:
Lesser known parts of Python standard library
If I find my self write a[0] a[1] a[2] in more than one place, I would upgrade it to a namedtuple. Much better readability, can be defined inline like `MyTuple = namedtuple('MyTuple', 'k1 k2 k3')`
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: