title: "raise e Execute Error" in the Python ArcPy module when looping
body: <p>The <code>Resample_management</code> function is part of the ArcPy module, a module that can only be installed along with the ArcGIS software.
  It's default form is:</p>
  
  <pre><code>arcpy.Resample_management("D:\InputFile", "D:\OutputFile.tif", "1000 1000", "BILINEAR")
  </code></pre>
  
  <p>That way it works. But when I put it inside a loop, I get an error.</p>
  
  <pre><code>Input=glob.glob("D:\Freelancer\oDesk\Create-ArcPy-Scripts\TestFiles\*tif")
  #Glob makes an array with all the TIF files inside a folder.
  for i in Input:
      arcpy.Resample_management(i, "D:\OutputFolder\%s_1000.tif" % i, "1000 1000", "BILINEAR")
  
  
  Runtime error  Traceback (most recent call last):   File "&lt;string&gt;", line 2, in &lt;module&gt;   File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 12407, in Resample     raise e ExecuteError: ERROR 999999: Error executing function. Failed to execute (Resample).
  </code></pre>
  
  <p>If I look up for ERROR 999999, it says "this is an error without an ID". 
  Is there a problem with my loop or is it clearly a problem of the ArcPy module?</p>