我只是遵循一个简单的Python脚本来编写一个文本文件。suggetsed方法;在末尾添加"\n“不起作用。它是在循环中打印的,因为我正在使用Windows,我也尝试了“\r\n”。#Assign variables to the shapefilesschool = "Schools_sd.shp"
path = r"C:/Esr
我是arcpy的新手,正在尝试从现有的表创建新的表。我想创建表:如果type_1等于H,那么导出comment_1中包含的值。 输入层/属性表: Number type_1 value_1 comment_1 type_2 value_1 comment_213878 P sdferw H jldoeroslj
156798 Y