title: Is it possible to use variable name in imread? Basic issue in Python
body: <p>My problem is really quite simple.</p>
  
  <p>I have a 100 images on my computer, those images are called 1.ppm 2.ppm and so on until 100.ppm</p>
  
  <p>I want to read each image to a variable using imread, and then perform a few operations. I want to do the exact same thing to all of the images.</p>
  
  <p>My question is this - Instead of copy pasting one hundred times, is it possible to use imread in a loop? something like:</p>
  
  <pre><code>for i in range(1,100):
      X=io.imread('/home/oria/Desktop/more pics/'i'.ppm')
  </code></pre>
  
  <p>Instead of copy pasting the same code block and just changing the picture number a hundred times, I want to do this in a loop.
  I have a similar issue with numpy.load. I want to load files called ICA1 ICA2 etc up to ICA100. Is it possible to write something like</p>
  
  <p><code>numpy.load('/home/oria/Desktop/ICA DB/ICA'i'.npy)</code>?</p>