Removed Encode/Decode funcs from python_sample