title: copying and renaming files
body: <p>I'm trying to create multiple copies of a file, by copying and renaming it based on the contents of a csv file.</p>
  
  <p>The code below seems to be producing the correct result when I just print the commands to be run, however, when actually execusting the command, noting is copied, and I just end up with many open and blank cmd windows. Is this a Windows permission issue?</p>
  
  <pre><code>import os
  import csv 
  file_location1 = "blank.mpp" 
  csv_file_location ="all_projects_2014.csv" 
  
  with open(csv_file_location,'r') as f: 
      contents = csv.reader(f) 
      for row in contents: 
          second_file = str(row) 
          second_file = second_file.translate(None, '[\']')+'.mpp' 
          command = "cp %s %s" % (file_location1, second_file) 
          os.system(command) 
          #print command
  </code></pre>