You could do this using a 'while' loop. Ex:x = 4 while x < 10: lstRasters = gp.ListRasters("*" + str(x)) for raster in lstRasters: print raster x += 1
x = 4 while x < 10: lstRasters = gp.ListRasters("*" + str(x)) for raster in lstRasters: print raster x += 1
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.