title: How to get ownership of smart contract using web3 Api Python?
body: <p>I am practicing with web3 APIs and Python. I would like to extract the ownership of a specific smart contract giving the contract address (or smart contract) as input and getting as output the ownership of the contract.</p>
  <p>For example if I check this contract <code>0x2A9718defF471f3Bb91FA0ECEAB14154F150a385</code> <a href="https://bscscan.com/token/0x2A9718defF471f3Bb91FA0ECEAB14154F150a385#readContract" rel="nofollow noreferrer">on BscScan</a> reading the contract on point n.11 I can see the ownership is owned by this address <code>0x42997cf4fc165ebb8269cffc54a3198984367f02</code>. How to automatize this process with web3 APIs on python? Or do you know any other method to get it except of selenium webdriver?</p>