title: List all the python modules imported by a project
body: <p>I am running my projects on python=3.6 and i want to list all the modules imported by the python scripts present inside this project/repo/directory so i can build a project specific requirements file for future use.
  Help me with a script to traverse down the directory tree to list the modules or any available python module to do so.</p>