#!/usr/local/bin/python3 from codecs import decode as d print(b'abc'.hex()) print(d(d(616263, 'hex')))