title: P4 Python error: file(s) not on client
body: <p>I am using the p4 Python module to try and open several files for edit.  Basically I have a list of files that I am grabbing from a txt document.  I then do some formatting to each item in the list and append those items to an empty list.  My method is not the most efficient but I am just trying to get this to work before optimizing.</p>
  
  <pre><code>edit_files = []
  
  with open('C:\\Users\\rgriffin\Desktop\\replace.txt', 'r' )as f:
      for line in f:
          l = line.partition(',')[0]
          e = l.replace('#(', '')
          r = e.replace('U:\\', '//Stream/main/')
          q= r.replace('\\', '/')
          edit_files.append(q)
  f.close
  
  for i in edit_files:
      p4.run("edit" , i) 
  </code></pre>
  
  <p>With this code I get an error:</p>
  
  <blockquote>
    <p>[Warning]: '"//Stream/main/Data/anims/stuff/char/Emotion_Angry.hkx" - file(s) not on client.'</p>
  </blockquote>
  
  <p>If I change the last line to this...</p>
  
  <pre><code>p4.run("edit" , "//Stream/main/Data/anims/stuff/char/Emotion_Angry.hkx") 
  </code></pre>
  
  <p>The file is checked out as expected.  I did a type check and <code>i</code> is a string.</p>
  
  <p>Input data:</p>
  
  <pre><code>#("U:\Data\anims\stuff\char\Emotion_Angry_Partial.hkx", "u:\Assets\Actors\stuff\char\Animation\char_Idle.max")
  </code></pre>