Hi every one,
I do have the same problem and I don't know where it comes from...
any suggestion?
# ---------------------------------------------------------------------------
# test.py
# Created on: 2011-10-18 13:50:04.00000
# (generated by ArcGIS/ModelBuilder)
# Description:
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
# Load required toolboxes
arcpy.ImportToolbox("C:/Users/Documents/ArcGIS/Sample Tools/SampleTools.tbx")
# Local variables:
ASA_APM_1PNPDK20080622_131859_000000442069_00382_33001_1771_ok_txt = "F:\\front\\trash\\ASA_APM_1PNPDK20080622_131859_000000442069_00382_33001_1771_ok.txt"
ASA_APM_1PNPDK20080622_131859_000000442069_00382_33001_1771_ok_txt__2_ = "F:\\front\\trash\\ASA_APM_1PNPDK20080622_131859_000000442069_00382_33001_1771_ok.txt"
test_shp1_shp = "F:\\front\\trash\\test_shp1.shp"
test_shp1_shp__2_ = "F:\\front\\trash\\test_shp1.shp"
# Process: Create Features From Text File
arcpy.CreateFeaturesFromTextFile_samples(ASA_APM_1PNPDK20080622_131859_000000442069_00382_33001_1771_ok_txt__2_, "local decimal point", test_shp1_shp, "PROJCS['Polar Stereographic',GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Stereographic_North_Pole'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-45.0],PARAMETER['Standard_Parallel_1',71.0],UNIT['Meter',1.0]];-30636100 -30636100 147003033.263715;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision")
# Process: Add Field
arcpy.AddField_management(test_shp1_shp, "date", "DATE", "", "", "", "", "NON_NULLABLE", "NON_REQUIRED", "")
# Process: Calculate Field
arcpy.CalculateField_management(test_shp1_shp__2_, "date", "time.strftime('%d/%m/%Y')", "PYTHON_9.3", "")