Given a key value string values, how to encode a key and not the content (Python 3) : <p>Given a key: value (name="My name is Bill"), in Python 3, I am trying to encode the key (that's name). Standard approaches like name.encode etc end up encoding the content. Need to encode it to bytes as next step </p>
