What python code is necessary to convert the integers of a bitcoin public key into the proper hex version thereof?
y = hex(xPublicKey).rstrip(&quot;L&quot;).lstrip(&quot;0x&quot;)
z = hex(yPublicKey).rstrip(&quot;L&quot;).lstrip(&quot;0x&quot;)
hexpublickey = &quot;04&quot; + y + z