Simple Binary Encoding Python Code Run