title: How to get a list of filenames(without extension) in directory in python?
body: <p>Assume my folder structure to be </p>
  
  <pre><code>+Data
    -abc.jpg
    -db.jpg
    -ap.jpg
  </code></pre>
  
  <p>Input is 'path/to/Data' </p>
  
  <p>Expected output is ['abc','db','ap']</p>
  
  <p>I saw many similar questions but did not get what exactly I wanted.
  I prefer to use os module in python.</p>