title: Get a list of inbuild types
body: <p>Is it possible to get a list of inbuilt types in Python including types included in imported modules? So the code would return something like <code>[int, list, dict str, etc..etc]</code></p>
  
  <p>The reason for doing this is as follows. I am an enthusiastic new user of Python. To help me ramp up I decided to commit to memory <a href="https://docs.python.org/2/library/functions.html" rel="nofollow">inbuilt methods</a>. To do this I used the Anki flash card program on Ubuntu. With this tool you can import a csv like file with questions and answers on each line separated by a delimiter.</p>
  
  <p>Firstly I began with the build in methods. I found a suitable html table <a href="http://www.programiz.com/python-programming/built-in-function" rel="nofollow">here</a> and I wrote a script using BeautifulSoup4 to locate and convert this data to a csv format I could import into Anki. This worked great and I committed them all to memory. Then I realized that if I wanted to do the same with other data types I would need to find similar extensive lists which are not available on the site I used to start with. </p>
  
  <p>I am considering taking each data type, running a dir on it to get all the methods that can act on it and then to call help() on each public method, for example <code>help(str.beginswith)</code>. I would then do some parsing to separate the method name from the description and write this to file in a csv format. Please don’t someone write this for me only pointers/hints please.</p>