How to use multiple wildcards parameters inside ArcPy.ListFeature Class

المشرف العام

Administrator
طاقم الإدارة
I have shapefiles in that form

RCs4s3s2c10_S2C10RCs4s3s2c20_S2C20RCs4s3s2c30_S2C30RCs4s3s2c40_S2C40RCs4s3s2c50_S2C50RCs4s3s2c60_S2C60RCs4s3s2c10_1_S2C10RCs4s3s2c20_1_S2C20RCs4s3s2c30_1_S2C30RCs4s3s2c40_1_S2C40RCs4s3s2c50_1_S2C50RCs4s3s2c60_1_S2C60RCs4s3s2c10_2_S2C10RCs4s3s2c10_2_S2C10RCs4s3s2c20_2_S2C20RCs4s3s2c30_2_S2C30RCs4s3s2c40_2_S2C40RCs4s3s2c50_2_S2C50RCs4s3s2c60_2_S2C60RCs4s3s2c10_2_S2C10How can i use a second wildcard parameter in my code for the first group of fc which don't have a number between _ cause with the following code

featureclasses = arcpy.ListFeatureClasses("RCs*", "Polyline", "") for fc in featureclasses: ....i get everything but i want only the first group of feature classes



أكثر...
 
أعلى