May-12-2024, 02:25 AM
This is my first post. I'm new to Python programming. I usually go on Windows, Linux, C#, and Java programming on coding. I wanted to take up Python because I thought it looked good. I would like to know few things about the structure of programming in Python. First I'll put the title on...
Java has java packages to work on. I'd like to know what about Python programming. Same idea?
Java has java packages to work on. I'd like to know what about Python programming. Same idea?
#saving a file or loading a file import arcpy featureclass = "C:/data/county.gdb/hospital" field = "Zip" valueList = [] rows = arcpy.da.SearchCursor(featureclass, [field]) for row in rows: valueList.append(row[0]) uniqueSet = set(valueList) uniqueList = list(uniqueSet) uniqueList.sort() print(uniqueList)
Programs are like instructions or rules. Learning it gets us closer to a solution. Desired outcome. Computer talk.