BCH and BTC use the same code with slight changes so I don't think you still need to convert the private key because it's compatible.
The private key is a WIF key; it could be compressed and uncompressed if you want to convert them into a BCH address, then importing it into a BCH wallet should convert it into a public key or address.
Or you are looking for a more complex way to do that?
Or maybe you are talking about converting the WIF key into hex format or base64 format? There's a tool to do that check the https://github.com/pointbiz/bitaddress.org
As I already said twice and saying that third time again: I need python 3 code to convert private key in bytes or hex to Bitcoin Cash address.
Please read before posting. Everything already have been said.
If you don't know the topic please stop posting.
Stop trolling here.