pyscard
pyscard copied to clipboard
Use Named tuples when possible
Use Named tuples https://docs.python.org/3/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields instead of tuples.
For example .transmit()
could return a named tuple [response="", sw1=, sw2=]
.