difficulty populating date field with arcpy [duplicate]

المشرف العام

Administrator
طاقم الإدارة
This question already has an answer here:


Here is my date variable in the class "rropthema":

erfdat ="'31.12.2007'"Here is the arcpy code:

arcpy.CalculateField_management(fc, item, rropthema.erfdat,"PYTHON")Here is the error:

ExecuteError: ERROR 000539: : unexpected EOF while parsing (, line 1)Fehler beim Ausführen von (CalculateField).How can I get arcpy to write into a data field?



أكثر...
 
أعلى