If you are getting started in Python Web3.py development I would begin by reading the pages below. They will give you a high level overview of some important concepts in Web3.py dapp development. Rewrite the sample code below. Practice is the best way to learn.
Python and Web3.py
- How to connect to the Ethereum blockchain using a node
- How to install Web3.py in Python
- Test your connection to the Ethereum blockchain using Web3.py and Python
- How to get a smart contracts ABI for use in Web3 and Python
- Read Solidity smart contract data using Web3.py in Python
- Get gas prices from the ETH Gas Station using json in Python
- Call a uniswap function using Web3.py in Python
- Get market data from uniswap using Web3.py in Python
- How to listen for Ethereum events using Web3.py in Python
- Send an ETH transaction using Web3.py in Python
- Can you make money creating an arbitrage bot running on the Ethereum block chain?
- How to create a snipe bot to monitor IDO’s or new liquidity pairs in Python
- Use The Graph in Python to query Ethereum data
- How to airdrop crypto to multiple accounts using Python
- Crypto QR code generator in Python
- Create a blockchain in Python
- Convert a string to SHA256 in Python
- Use Python to monitor Twitter accounts for crypto tweets
- Reddit sentiment indicator for crypto in Python
- Build a crypto back running bot
- Compound Finance liquidation bot
- How to use Flashbots
- How to query the Ethereum mempool / transaction pool with Python
- Use Python to get the balance of a Bitcoin wallet
- Query the Bitcoin memory pool in Python
- Interact with Gnosis Safes with Python
- AI on the Bitcoin blockchain with Python
- Understanding the Ethereum staking rate