How to create new account using web3.py and mnemonic?

Hi everyone,

I’m new to Avalanche and currently working on developing a DApp using Django. I’m trying to create a new account using a mnemonic with Web3.py, but I’m unsure how to proceed. Despite searching around, I haven’t found a clear guide on this specific task.

Can anyone provide guidance or point me in the right direction? Any help would be greatly appreciated!