new_contents: # This is a tutorial using web3.py
  
  # prepare web3
  # pip install web3
  
  # web3 test with local providers
  from web3 import Web3
  
  # IPCProvider:
  w3 = Web3(Web3.IPCProvider('./path/to/geth.ipc'))
  
  # HTTPProvider:
  w3 = Web3(Web3.HTTPProvider('http://127.0.0.1:8545'))
  
  # WebsocketProvider:
  w3 = Web3(Web3.WebsocketProvider('wss://127.0.0.1:8546'))
  
  w3.is_connected()  # True if successful
  
  # get blockchain info
  w3.eth.get_block('latest')
  
  """ output example:
  {'difficulty': 1,
   'gasLimit': 6283185,
   'gasUsed': 0,
   'hash': HexBytes('0x53b983fe73e16f6ed8178f6c0e0b91f23dc9dad4cb30d0831f178291ffeb8750'),
   'logsBloom': HexBytes('0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'),
   'miner': '0x0000000000000000000000000000000000000000',
   'mixHash': HexBytes('0x0000000000000000000000000000000000000000000000000000000000000000'),
   'nonce': HexBytes('0x0000000000000000'),
   'number': 0,
   'parentHash': HexBytes('0x0000000000000000000000000000000000000000000000000000000000000000'),
   'proofOfAuthorityData': HexBytes('0x0000000000000000000000000000000000000000000000000000000000000000dddc391ab2bf6701c74d0c8698c2e13355b2e4150000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'),
   'receiptsRoot': HexBytes('0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421'),
   'sha3Uncles': HexBytes('0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347'),
   'size': 622,
   'stateRoot': HexBytes('0x1f5e460eb84dc0606ab74189dbcfe617300549f8f4778c3c9081c119b5b5d1c1'),
   'timestamp': 0,
   'totalDifficulty': 1,
   'transactions': [],
   'transactionsRoot': HexBytes('0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421'),
   'uncles': []}
  """
  
subject: add ethereum web3 tutorial