title: Grouping import statements in python
body: <p>I have started learning python recently and ran pylint on my python file. I got following comments.</p>
  
  <pre><code>from os import listdir
  from os.path import isfile, join
  </code></pre>
  
  <p>I the above two lines, the Pylinter comment is  </p>
  
  <pre><code>C:  5, 0: Imports from package os are not grouped (ungrouped-imports)
  </code></pre>
  
  <p>How can I achieve that ?</p>
  
  <p>And another comment is in below line</p>
  
  <pre><code>import mimetypes, time, csv, platform, base64, django, sys, os, math, uuid, linecache, logging, requests
  
  C:  5, 0: standard import "import mimetypes, time, csv, platform, base64, django, sys, os, math, uuid, linecache, logging, requests" should be placed before "import mimetypes, time, csv, platform, base64, django, sys, os, math, uuid, linecache, logging, requests" (wrong-import-order)
  </code></pre>
  
  <p>what does the above line mean and why is it required?</p>