title: Python3 create list of image in a folder
body: <p>I have an array of images in Python3 like this...</p>
  
  <pre><code>images = [
      "/var/www/html/myfolder/images/1.jpg",
      "/var/www/html/myfolder/images/441.jpg",
      "/var/www/html/myfolder/images/15.jpg",
      "/var/www/html/myfolder/images/78.jpg",
  ]
  </code></pre>
  
  <p>Instead of specifying the image like this I would like to pass an absolute path and have python create me the images list out of the .jpg images that are in that path.</p>
  
  <p>What is my best approach?</p>