And while 2 lines are not worth my rant, writing those 2 lines again and again all the time, is.
import codecs enc = lambda x: codecs.encode(x, 'hex')
And while 2 lines are not worth my rant, writing those 2 lines again and again all the time, is.