Today, when writing a Python script, the data management-generalization-dissolve tool is called, and the parameters for operation in ArcGIS are set as follows:
If the fused field has only one good thing to do, if there are more than one fusion field to express, see the sample code in the Help documentation to understand:
So, I get all the fields here, eliminate the unwanted FID, OBJECTID, SHAPE, Hape_length, and Shape_area, and use the string manipulation function to get: ["NAME", "CODE"] such input should be no problem, but actually error, I can't find ["NAME", "CODE"] field, so why is it possible in the sample code?
I remember when I called GP in C #, if I encountered multiple values in one parameter, separated by semicolons, I did it once in the ArcGIS tool, with the following message:
The original with a semicolon on the line, try it, but also.
Representation of multiple values in a parameter in Python