I need assistance modifying the following code to convert a whole folder rather than a single image.
<SPAN class="comment token"># Local variables:</SPAN>
SP0013_tif <SPAN class="operator token">=</SPAN> <SPAN class="string token">"SP0013.tif"</SPAN>
SP0013_LayerToKML_kmz <SPAN class="operator token">=</SPAN> <SPAN class="string token">"C:\\Users\\anthonyv\\Documents\\ArcGIS\\SP0013_LayerToKML.kmz"</SPAN>
<SPAN class="comment token"># Process: Layer To KML</SPAN>
arcpy<SPAN class="punctuation token">.</SPAN>LayerToKML_conversion<SPAN class="punctuation token">(</SPAN>SP0013_tif<SPAN class="punctuation token">,</SPAN> SP0013_LayerToKML_kmz<SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"0"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"NO_COMPOSITE"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"DEFAULT"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"15000"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"5000"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"CLAMPED_TO_GROUND"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>