How to control my already created Ethereum wallet using passphrase and Python with Web3.py?
You can export the private key from the wallet and import in Web3.py
Some examples
Setting up middleware for local transaction signing
Working with local private keys