The cited topic is mostly about how to deal with Taproot with various software and hardware wallets. I couldn't find anything related to OP's question on how to properly derive Taproot addresses from a private key in Python.
I've no experience with this in Python, but I assume a mandatory intermediate step is to properly get the public key by elliptic curve magic from the private key and then apply some Python Taproot library magic. Can't assist here further...
Tap root address is a pay to public key hash (p2pkh) address that utilizes the new taproot script. Tap root addresses provide increased privacy by allowing multiple parties to collaborate on complex transactions without revealing the details of the transactions script. It also enables more advanced smart contract capabilities. With taproot complex smart contracts can be represented as a single public key, known as taproot key. This shows that more sophisticated transactions can be implemented simply using taproot addresses
I deliberately quoted the full post. The OP is not asking for an explanation of what Taproot is. What you posted sounds a lot like you copied or paraphrased some other source which you don't cite properly. If true, your forum account might be in trouble due to some sort of plagiarism.