title: How to get the account data of all accounts in Polkadot using py-substrate-interface
body: <p>I want to do a couple of things. First, get the data of all the accounts to do a wealth distribution analysis. Second, get the data of all the accounts who have attached identity information.</p>
  <p>I am able to do basic stuff using <a href="https://github.com/polkascan/py-substrate-interface" rel="nofollow noreferrer">py-substrate-interface</a> but I am not able to figure out the commands for fetching the data of all the accounts or accounts with identity of some kind attached.</p>