Python for ArcMap - "GetParameters" as text into "Text file"

المشرف العام

Administrator
طاقم الإدارة
Ive just starded using Python for ArcMap. Im trying out a script witch works before I put arcpy.GetParameterAsText(0) into it. Does anybody know what Im doing wrong? ( I put the parameters in to command line it was before).

The coding is for Icelandic letters.

Cheers,M

--coding: cp1252 --

import arcpyimport oswksp = "D:\Lilja\SHP_f_GG"k = arcpy.GetParameterAsText(0)arcpy.env.workspace = os.path.join(wksp, k)


txtFile = open(os.path.join(wksp, "GGSkr

أكثر...
 
أعلى