读取要素的属性列表运行成功但却报乱码,如何解决
import arcpy
… from arcpy import env
… env.workspace = r”I:\pystudy\shili”
… fielist = arcpy.ListFields(“fydltb.shp”)
… fielist
…
>>> fielist
[<Field object at 0x4ef12d0[0x23dc9ef0]>, <Field object at 0x4ef1470[0x23dc9d70]>, <Field object at 0x23da0a10[0x25581ef0]>, <Field object at 0x4ef1b50[0x25581710]>, <Field object at 0x23da0930[0x255815c0]>, <Field object at 0x4ef17d0[0x25581638]>, <Field object at 0x4ef14d0[0x25581950]>, <Field object at 0x4ef1570[0x25581c50]>, <Field object at 0x4ef1710[0x255814a0]>, <Field object at 0x4ef1af0[0x25581ed8]>, <Field object at 0x4ef1910[0x25581ea8]>, <Field object at 0x4ef15b0[0x25581e48]>, <Field object at 0x4ef13b0[0x25581f50]>, <Field object at 0x4ef1350[0x25581770]>, <Field object at 0x4ef1390[0x25581d88]>, <Field object at 0x4eedad0[0x255813f8]>, <Field object at 0x4eed9d0[0x25581608]>, <Field object at 0x4eee4d0[0x25581470]>, <Field object at 0x4e6a330[0x25581908]>, <Field object at 0x4e6a390[0x255819c8]>, <Field object at 0x25570250[0x25581a10]>, <Field object at 0x4ef17f0[0x25581c20]>, <Field object at 0x255705b0[0x255812f0]>, <Field object at 0x25570610[0x25581f08]>, <Field object at 0x255775f0[0x25581458]>, <Field object at 0x2557dc50[0x255817a0]>, <Field object at 0x2557dc90[0x25581da0]>, <Field object at 0x2557dcd0[0x25581ce0]>, <Field object at 0x2557dd10[0x25581fb0]>, <Field object at 0x2557dd50[0x25581578]>, <Field object at 0x2557dd70[0x25581db8]>, <Field object at 0x2557ddf0[0x25581a88]>]
转载自:https://blog.csdn.net/qq_36196621/article/details/86528976