title: Python Loop to move files
body: <p>Once again, I am looking for some assiatance, thanks in advance. This code has the purpouse to move files in a list, from one folder to another.
  It is giving me the ERROR below.</p>
  
  <pre><code>import shutil
  Import os
  source='/dev/sdc /mnt/mnttensor/Dhole/'
  destination='/home/ubuntu/classificator/nodhole/'
  fo = open("dhole3.txt", "r")
  content = fo.readlines()
  for files in content:
     shutil.move(source+files,destination+files)
  </code></pre>
  
  <p>ERROR</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 2, in &lt;module&gt;
    File "/usr/lib/python2.7/shutil.py", line 302, in move
      copy2(src, real_dst)
    File "/usr/lib/python2.7/shutil.py", line 130, in copy2
      copyfile(src, dst)
    File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
      with open(src, 'rb') as fsrc:
  IOError: [Errno 2] No such file or directory: '/dev/sdc /mnt/mnttensor/Dhole/227_5267_M0423_19Oct12-IMAG0068.JPG\r\n'
  </code></pre>
  
  <p>I would really appreciate any help on this. </p>