Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Using a wildcard inside DeleteField_Management?

$
0
0
Hello,
I am trying to put a wildcard inside this delete field. I am using PythonWin 2.6 and hitting Feature Class data in SDE. I already use a system argument inside the field name and had to convert it to a string for it to work. Is that the problem with trying to use a wildcard for a number inside a string?

arcpy.DeleteField_management(PROJ4_ADMIN_DELETE_AFTER_TEST, "FID_GE41_REG_SBPD_MOB_"+PR+"_WOR_9")

I would like to use a wildcard for the number 9 in the field name.

Thanks in advance for any input you may have.

Greg

Viewing all articles
Browse latest Browse all 2485

Latest Images

Trending Articles



Latest Images