title: List submodules of a python module
body: <p>How to get the name/list of all submodules of an already imported Python module? (Not the external imported module/packages, just that one in the same folder as module sub-folder).</p>
  
  <p>I am using</p>
  
  <pre><code>import inspect
  print([o[0] for o in inspect.getmembers(module_imported) if inspect.ismodule(o[1])])
  </code></pre>
  
  <p>but this print also the system modules imported and files in the main module folder.</p>