r/CoderRadio • • Jun 23 '14

Writing better Python code (from June bangpypers meetup)

https://gist.github.com/kracekumar/09a60ec75a4de19b346e
4 Upvotes

1 comment sorted by

1

u/KODeKarnage Jun 25 '14

Good list.

Though not sure what the namedtuple item was about. Do people really use a class with only an init method?

This: copied_list = original_list[:] is pure gold though.